services: add Restic

Finally a way to actually back up my data...
This commit is contained in:
Bruno BELANYI 2020-12-30 18:30:49 +01:00
parent 2e84953a66
commit ff5ff5bb3d
2 changed files with 17 additions and 0 deletions

View file

@ -370,3 +370,15 @@ services:
- ./riot/config.json:/app/config.json
expose:
- 80
restic:
image: lobaro/restic-backup-docker
restart: unless-stopped
container_name: restic
hostname: restic-athos
env_file:
- ./restic/restic.env
- ./restic/restic.env.secret
volumes:
- ~/library/:/data/library
- ~/nextcloud/:/data/nextcloud