S
S
Snewer2018-11-20 16:56:45
Docker
Snewer, 2018-11-20 16:56:45

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

1 answer(s)
R
rasperepodvipodvert, 2020-06-11
@rasperepodvipodvert

The option of copying all files and running docker-compose on a remote server is not of interest.

Therefore, you did not receive an answer to the question, because. answered it yourself!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question