I have a Docker setup for my project with PHP-FPM, Nginx and many other services required by the application, but inside the PHP app I've to check the init.d/nginx configtest
for new dynamic Vhosts (which are shared by volumes) generated for a tenancy based service.
The main thing its that I dont want to make a single container with PHP-FPM and Nginx for scalability reasons.
My idea is to use any Linux package for watch any change on a folder (Vhosts folder in my case) and test and then reload the service.
Any suggestion?
Edit: I've RabbitMQ in one container which is used by the PHP application but now I need to connect it with the Nginx-based container (dont know if there's a CLI or linux native client for this) Note: I've RabbitMQ in one container which is used by the PHP application but now I need to connect it with the Nginx-based container (I don't know if there's a CLI or linux native client for this).