Collection of bash scripts that I use to manage headless deployments with Docker.
Learn more about my self-hosting set up here: Programming Patterns: Self-hosting.
Using this architecture can sometimes eat up a lot of space, given that each update downloads new Docker images. In order to improve that, make sure to run the following command from time to time:
docker system pruneYou can also configure a cron job that runs once a week:
0 4 * * * /usr/bin/docker system prune -f