You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple instances of the containers in docker-compose.yml running in the same docker network (because I'm serving multiple applications by reverse proxying).
I noticed that, from the 2nd web container instance onward, it will always reference the 1st php FPM container and thus serve webpage 1.
I tried setting the port in ./etc/php/php.ini and ./etc/nginx/default.template.conf from 9000 to 9001, respectively, and exposed port 9001 on the php container - to no avail.
I have multiple instances of the containers in docker-compose.yml running in the same docker network (because I'm serving multiple applications by reverse proxying).
I noticed that, from the 2nd
web
container instance onward, it will always reference the 1stphp
FPM container and thus serve webpage 1.I tried setting the port in
./etc/php/php.ini
and./etc/nginx/default.template.conf
from 9000 to 9001, respectively, and exposed port 9001 on thephp
container - to no avail.How can I run multiple of these container networks without them interfering with each other? What's the best practice for running a reverse proxy like https://github.com/SteveLTN/https-portal with this repo?
Thanks in advance!
The text was updated successfully, but these errors were encountered: