wolfiton

wolfiton

Should I develop my app in docker from the start or later when i have the dev version?

Hi everyone,

Should I develop my app in docker from the start or later when I have the dev version?

What are your experiences so far regarding this subject?

Thanks in advance

Most Liked

Exadra37

Exadra37

I use always docker for my development workflow, no matter what programming language :wink:

So in my opinion it’s a must have, because I can literally combine any version of Erlang/Elixir/Phoenix/NodeJs/Postgres/LinuxFlavour and throw them away in the blink of an eye without messing with my Operating System.

An example of my elixir-docker-stack-defaults on the project I am working on this moment:

EDS_STACK_NAME=phoenix
EDS_STACK_BUILD_SOURCE=git
EDS_APP_IP=127.0.0.1
EDS_APP_HTTP_PORT=4000
EDS_CONTAINER_HTTP_PORT=4000
EDS_APP_HTTPS_PORT=4001
EDS_CONTAINER_HTTPS_PORT=4001
EDS_OS_NAME=debian
EDS_OS_VERSION=stretch
EDS_ERLANG_OTP_VERSION=22.2.1
EDS_ELIXIR_VERSION=1.9.4
EDS_PHOENIX_VERSION=1.4.11
EDS_PHOENIX_COMMAND=phx.server
EDS_DATABASE_IMAGE=postgres:11-alpine
EDS_DATABASE_USER=postgres
EDS_DATABASE_COMMAND=postgres

Yes I know you have other tools, but they mess with the Operating System. My approach of using Docker keeps my OS in a pristine state :slight_smile:

Rainer

Rainer

That really doesn’t matter, it’s very easy to add docker later :slight_smile:

hauleth

hauleth

Or you can realise that you do not need Docker at all :wink:

Where Next?

Popular in Discussions Top

Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
pillaiindu
In django there is a cache framework backed by memcached. Rails also puts a lot of emphasis on caching, and even the idea of russian-doll...
New
Qqwy
Looking at the stacks that existing large companies have used, WhatsApp internally uses Mnesia to store the messages, while Discord uses ...
New
axelson
Decided against including more info in the title, but the gist is that Plataformatec sponsored projects will continue with the assets bei...
New
sashaafm
Piggy backing a bit on @dvcrn topic BEAM optimization for functions with static return type?, I’ve been trying to understand in a deeper ...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
IVR
Hi all, I’ve seen a number of related threads in the past, but I’d still be very curious to hear an up-to-date opinion on this topic. I...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
jesse
Hi everyone, I hesitated to post this here because I don’t want you to think I’m spamming, but I’ve been working on a Platform-as-a-Serv...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

malloryerik
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
New
Harrisonl
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
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement