Replies: 2 comments 1 reply
-
To add to this, I'm also trying not to expose any ports to the host machine except for port 80/443 of my proxy. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please disregard this! I worked out how to use a custom network, assign static IPs and I can proxy through to each of the individual containers running port 8080. Thank you! 🙏 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I've finally had the chance to check out serversideup/php and I absolutely love it. Great work on v3 as well! 👍
I'm currently attempting to build a system for my work which will allow us to spin up separate staging deployments per PR/branch we have and I'm going to try using Docker for it (and this image). For now, I'm going to try having a separate nginx container which acts like a proxy and forwards traffic to the serversideup/php-fpm-nginx images, each running on their own ports.
I'm currently struggling to find if I can customise the default port (8080) that is used to something different, so we can use one network but multiple ports so my nginx proxy can forward traffic based on URL.
Any help would be greatly appreciated and if what I'm doing is stupid, please do say as I'm still quite new to Docker and this image! 😅
Beta Was this translation helpful? Give feedback.
All reactions