Answer the question
In order to leave comments, you need to log in
Docker: one service, one container?
Another question from the microservices and docker series:
the main ideology when building microservices architecture on docker says that one service should be in one container.
putting mysql and rabbimq into one container is a bad idea (because it will be difficult to monitor two services inside one container, and it will be necessary to install a supervisor inside - and this is not good), and it is better to distribute it among different containers.
and if I have 10 microservices, each with its own database, then I need to have 10 containers in addition to everything, each of which will contain only mysql ?
I do not quite understand what it is for? And then how not to get confused in all this?
Answer the question
In order to leave comments, you need to log in
and if I have 10 microservices, each with its own database, then I need to have 10 containers in addition to everything, each of which will contain only mysql ?
I do not quite understand what it is for? And then how not to get confused in all this?
I do not quite understand what it is for?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question