T
T
topuserman2021-12-12 23:31:09
Docker
topuserman, 2021-12-12 23:31:09

Do I need an orchestrator to run one container for a single server?

Our project runs on nginx + php-fpm + mysql + redis stack.
Each application is in a separate container, but everything is running on one physical server, and is lifted through docker-compose.

There was a need to replicate the database to a separate server (master + 2 slaves), the master remains on the current server, and two slaves need to be deployed on two separate servers.

Question: Is an orchestrator required here? Is it possible without it?
If not, how to do it via docker-swarm?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2021-12-12
@vabka

MySQL is better to be pulled out of containers and deployed separately, since it will be difficult to manage it in containers.

A
Alexander Karabanov, 2021-12-13
@karabanov

an orchestrator is needed here

Not necessary. It is possible without it - no one forbids it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question