I have a problem to get multiple webservers running on my self-hosted server.
I have first a working architecture using docker-compose to run nextcloud, and I want to run a second webserver, on a different subdomain.
If I run a second reverse proxy of course it doesn’t allow me to bind the port 80 as it is already in use by the first one. If I try to put the webserver on the proxy-tier network (where the first reverse proxy is) in a docker-compose, it puts automatically a prefix in front of the network name (compose_folder_name_proxy-tier) so this doesn’t work either.
Do you have any idea on how I can achieve the multiple webservers without breaking my current working nextcloud architecture?
Here is an overview of the architecture, the red container is the one that I want to add. I know that the reverse proxy should be in front of everything, but in this case how can it work with containers in docker-compose ?
Thanks in advance for your help.