Currently, I have two containers php-fpm
and NGINX where I run the PHP application.
Now my question, is there a way to "connect" two docker containers without using a volume?
Both containers need my application (NGINX to send static files e.g. css/js
and php-fpm
to interpret the PHP files).
Currently, my application is cloned from git into my NGINX container and I had a volume so the php-fpm
also had the files to interpret PHP.
I search for a solution without that my application is on the host system.