Hacker News new | ask | show | jobs
by jamil7 2434 days ago
I built something similar with the same basic functionality although lacking all the polish. Basically I had a cheap vps with docker installed and a small control panel where a user could log into github and pick a repo and add domain names. There was then a number of glue scripts to pull and build the sites and deploy them as Caddy server containers, this handled all the automatic TLS and static file serving. I had all these load balanced with nginx listening to the docker deamon and restarting. In hindsight the whole thing could have been a good opportunity to learn and use k8s, maybe would have been simpler to piece together but I learned a lot.