dogweather
Setting up a Phoenix Docker development environment
I just finished a long process of configuring and debugging a Docker Compose-based dev environment. Several late-night hours! I think I’ve got everything accounted for, and thought I’d share:
Most Liked
NobbZ
According to the compose file, your sources are bind mounted to /app in the container.
If your hosts architecture/OS differs from what is inside of the docker, this bind mount might cause trouble, especially if you have an editor on the host that does compile on save or some code analysis that relies on compiled artifacts.
4
maater
It is awesome. One suggestion is to group RUN in Dockerfile. Each RUN is a layer. It should be 3. For system, phoenix and node. It would be faster
1
Popular in Guides/Tuts
https://sergiotapia.me/generate-images-with-name-initials-using-elixir-and-imagemagick-374eca4d14ff
Hope this saves you guys some time!...
New
Hi everyone!
I’m the founder of Render, a new cloud provider with native support for Elixir. When we launched Elixir support the most po...
New
Hi! I created some animations to explain what happens internally with map & reduce functions.
The code is open source. Any feedback...
New
Wrote this guide on how to integrate DropzoneJS with Phoenix Liveview. Hope it helps someone out!
https://sergiotapia.com/dropzonejs-dir...
New
Complete beginners Todo List Tutorial in Phoenix 1.5.3 (latest and greatest):
It’s a feature complete TodoMVC clone with 0% JavaScri...
New
So my main OS is Windows, I do must of my work with it, Elixir and vscode elixirls works just fine when you’re working only with elixir, ...
New
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode.
The solution seems to be, in a hyphena...
New
Just leaving some breadcrumbs for future me and future others like me.
Connect with TCP (not secured) - most servers will reject but use...
New
For those of you who might be interested in using ZeroMQ in Elixir, I converted the Erlang examples in the ZeroMQ “zguide” to Elixir. I ...
New
Hey :wave:t3: Elixir community,
I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New
Other popular topics
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
I have an umbrella app.
Some of the apps inside depend on other apps in the umbrella, unsurprisingly.
I'm writing a test for one of t...
New
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New







