I want to run multiple containerized web apps behind a containerized reverse proxy. I am using nginx-proxy as a reverse proxy and letsencrypt-nginx-proxy-companion for creation, renewal, and use of Let's Encrypt certificates.
Each of the web apps has a set of dependencies (containers themself) and could be managed by one docker-compose file. However, currently, reverse proxy service, certificate service, and all web apps are in the same compose file. I just run docker-compose up -d and all my web apps are running.
As you see I am using docker-compose to set up my whole server infrastructure by just running one command. However, it feels a bit like I am misusing or even abusing docker-compose since I am bundling independent applications together.
Is it ok to bundle multiple containers, which do not belong together, in one docker-compose for convenience, or is there a better way to set up everything with one command?