5 ms·
I run many different web apps off a single VPS, a Linode with Debian. Deployment is pushing to a git repo on the server, which has a hook that simply kills the
by alxmng 4y ago
I run many different web apps off a single VPS, a Linode with Debian. Deployment is pushing to a git repo on the server, which has a hook that simply kills the server. Supervisord ensures apps are restarted automatically. Caddy proxies everything based on domain.
Litestream backs up the databases automatically to S3 compatible storage, and linode offers automatic snapshots of the VPS.
My deployment process is git push and that’s it. If I need to setup a new webapp, I just clone the repo, add to supervisor and caddy config, and I’m good to go.
If I need to do CI, I use GitHub, which just git pushes to the server to deploy.