Answer the question
In order to leave comments, you need to log in
How to rationally use traefik+nginx+php-fpm for multiple docker projects?
There are 3 different projects. Now they are tied to one nginx (1 instance) + php7.3_apache (3 instances) within the docker framework.
How to correctly (rationally) use one proxy server (in this case, Traefik), in conjunction with php-fpm + nginx?
Answer the question
In order to leave comments, you need to log in
The second option is definitely wrong.
You have your own fpm and your compiled code in the fpm image of each application.
The minimum unit is a pair of nginx + fpm, and it will scale (if you implement it). It is for this pair that you create a service for the application (and not two services).
So your first option is a working method, but as simple as possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question