Answer the question
In order to leave comments, you need to log in
How to organize different environments for docker?
Greetings!
There was a need to organize a normal project deployment (php + nodejs). I wrapped everything in docker and run with docker-compose, but I can't figure out how to change the config depending on the environment (prod/stage/dev)
Are there any best practices for organizing docker environments?
Answer the question
In order to leave comments, you need to log in
Docker Compose has support for multi Compose files
https://docs.docker.com/compose/extends/#example-u...
Configure the necessary commands in Storm in Run and everything will be convenient
Well, already configure the deployment in your deployment system
Make different dockerfiles and use the docker-compose feature - https://docs.docker.com/compose/extends/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question