add restic
This commit is contained in:
parent
7da6ea3e39
commit
a5ddf292de
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
curl -m 10 --retry 5 $HEALTH_CHECK_URL
|
Loading…
Reference in New Issue