I have built a blogging application, running in several containers that are managed with docker-compose.
Now I'm wondering - how does one run multiple instances of such application on one server?
I'm thinking about two scenarios:
What is the right way to connect my project to the port 80, so I could run it along with the other websites I'm hosting on that server. I would like to do that automatically, without the need to modify container settings.
What is the right/elegant way to run hundreds of instances of the project, one for every user? Like if I would want to build something like Ghost. Does anyone know how they are doing it? Or do they just have one common database?