Answer the question
In order to leave comments, you need to log in
How to roll out docker-compose to production?
Hello!
For local development, the environment was built using docker-compose (mysql, nginx, php-fpm). Container data is stored in local folders (volumes).
Now you need to put everything on a remote server (at least for educational purposes). What is the best way to proceed?
The option of copying all files and running docker-compose on a remote server is not of interest.
I tried to remove volumes, copy all the necessary files to the container (COPY directive) and assemble them like this, but there were many problems with the database container.
Answer the question
In order to leave comments, you need to log in
The option of copying all files and running docker-compose on a remote server is not of interest.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question