Automation: New VPS Setup
I switch between VPS hosts often to either experiment or get better pricing, to speed up provisioning let's use automation. Let's assume that we're using the latest Ubuntu release.
TODO
-
Set up firewall, open port 80 -
Create deploy user, deploy
- This user must have passwordless sudo for specific commands, namely
docker-compose
- This user must have passwordless sudo for specific commands, namely
-
Set up directory structure, /opt/pawa
-
Install dependencies - docker
- docker-compose
- sqlite3
Stretch Goal
-
Set up database backups using restic
-
cron
to runsqlite3
backup
Edited by Jose V. Trigueros