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.template
to.env
- Modify
.env
respecitvely - Copy
Caddyfile
to 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 down
Unzip the archive via
unzip -P your_password_here docker_volumes_backup_{weekday}.zip -d zip_restore
Copy the docker_volumes folder
cp -r zip_restore/home/maxi/docker_volumes docker_volumes
Reload the config file via
docker exec -it caddy caddy reload -c /etc/caddy/Caddyfile
Set the admin password via running
docker exec -it pihole pihole -a -p
on 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.