Answer the question
In order to leave comments, you need to log in
Will this organization of Docker containers be correct?
Hello! There was a question of publishing a web application (back + front) in production, but I'm not very familiar with Docker. Can you tell me how correct this configuration of containers is in the Docker network? Total 4 containers:
Answer the question
In order to leave comments, you need to log in
DBMS in production is better not in docker. Well, or at least set up a replica with an auto-failover.
Why are you separating parts of the application by docker images?
a docker image is a minimal virtual machine, the state of which can (should) be reset, and which logically combines functionality that will work as is ... to make it stupidly convenient to deploy and update the application,
I will understand it to separate the database, although this is a separate philosophical conversation, is it necessary, in principle, to put it in the docker image, but everything else should be one whole
, so the answer is, one maximum of two images is enough
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question