I'm currently trying to setup a PHP development environment using NGINX and PHP-FPM Docker containers.
Now I know that this can be accomplished either as a single container running both services, or even as a multiple container setup where each service runs in its own container (that's based on my research so far).
My problem can be divided into two questions:
How would one setup multiple different PHP apps and have them communicate with one another, using the multiple container solution? Will I have to setup a NGINX container for every PHP-FPM one, or can I setup one NGINX container and use it with multiple different PHP-FPM ones?
Is the multiple container solution even a good one for a development environment? Or am I approaching this totally wrong?
Thanks in advance, any tips would be appreciated!