add restic

This commit is contained in:
Your Name 2023-12-21 21:56:44 +08:00
parent 7da6ea3e39
commit a5ddf292de
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
version: "2"
services:
backup:
image: ghcr.io/lobaro/restic-backup-docker:master
#build: .
hostname: restic
volumes:
- /root:/data/root
- /tmp/restic.cache:/root/.cache/restic
- ./data/logs:/var/log/
- ./hooks:/hooks
- ./ignore.txt:/restic_ignore.txt
env_file:
- .env
#entrypoint: tail -f /dev/null
restart: unless-stopped

View File

@ -0,0 +1 @@
curl -m 10 --retry 5 $HEALTH_CHECK_URL

0
docker/restic/ignore.txt Normal file
View File