Hosting Multiple Websites On One Server

Hello,

I have been using Zeit/now.sh for a while and its been working great. However, they announced that at some point in the future they will stop supporting Docker. I would like to go ahead and move away from them, and I was wondering what solutions there are to hosting small personal websites on one server. I was thinking of using Docker Compose in production, but I'm not sure exactly how to use it. For example, how can I push a newly built container to my server through my CI? Do I have to edit the yml file every time I want to host a new website? How do I get it to auto-restart only a single container when I deploy a new version of one of my sites.

A link to a guide or some documentation would be greatly appreciated.

Thank you!

submitted by /u/nahtnam
[link] [comments]
Source: Reddit