Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple instances serving wrong content #29

Open
Harti opened this issue Jun 30, 2018 · 0 comments
Open

Multiple instances serving wrong content #29

Harti opened this issue Jun 30, 2018 · 0 comments

Comments

@Harti
Copy link

Harti commented Jun 30, 2018

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.

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant