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
This blog post hit my timeline earlier, and I’ve also been learning about some fantastic Elixir related tips via @pragdave’s new online c...
New
Some advice for Elixir programmers.
I was reviewing someone’s Elixir Code yesterday and found a deadlock condition bug in a GenServer im...
New
Did you know that IO.inspect/2 returns the the first argument and accepts a label option as a second argument. This makes it a perfect to...
New
When we were figuring out how to use Phoenix LiveView we got stuck a few times.
So in order to save other people time, we created a comp...
New
Hey :waving_hand:t3: Elixir community,
I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and ...
New
This is a thread to note down things/best practices encountered in LiveBeats App as I explore the source code.
https://github.com/fly-...
New
I’ll post this here, It might help someone in the future.
Feedback is greatly appreciated.
I use it with direnv on NixOS, It should wor...
New
Other popular topics
Hi,
I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine)
This is a plugin that adds support for Elixir to JetBrains IntelliJ...
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
i’m a new one to elixir
which editor can i use
vs code? or atom?
Thanks! :smiley:
New
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service.
Currently when I de...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









