Docker multi stack deployment and multi nginx-proxy deployment

363 views Asked by At

I hope you are well and healthy. I have deployed a docker-compose file that contains nginx-proxy used with letsencrypt for a multi-container multi-project deployment on a single VPS. However, it becomes quite impractical especially given that the docker-compose file grows when adding multiple projects. For example, in my case I have deployed portainer and netdata on the same stack and facilitated in a total of 4 containers in that stack. I want to deploy zammad (https://zammad.org/) which is an opensource ticketing project on the same server but not necessarily on the same stack. I am not sure if I am doing this wrong but they have a docker-compose file themselves which prompted me to think it should be a separate stack. I do want nginx-proxy and letsencrypt to work with this project as well to be able to redirect a subdomain to zammad, however, docker finds it to be conflicting with the already deployed versions of nginx-proxy and letsencrypt in the 1st stack. How do you suggest to proceed? Do you think it's practical to just add up the contents of the docker-compose file of zammad to my 1st stack docker-compose file?

Thanks!

0

There are 0 answers