Setup for my "homelab" with docker containers.
This project is still under development and therefore not very stable or well documented.
- Clone the repository
- Copy
.env.templateto.env - Modify
.envrespecitvely - Copy
Caddyfileto the docker volumes - Run
docker-compose up -d
You can make cron run the backup script, for example by adding the line
0 4 * * * cd /path/to/dock-n-roll && ./backup_create.sh
to your crontab.
If necessary, stop the containers
docker compose downUnzip the archive via
unzip -P your_password_here docker_volumes_backup_{weekday}.zip -d zip_restoreCopy the docker_volumes folder
cp -r zip_restore/home/maxi/docker_volumes docker_volumesReload the config file via
docker exec -it caddy caddy reload -c /etc/caddy/CaddyfileSet the admin password via running
docker exec -it pihole pihole -a -pon the host.
To generate pdfs, it might be necessary to set the system parameter report.url to http://0.0.0.0:8069, see here.