Files
opt/docker-compose.borgmatic.yaml

25 lines
739 B
YAML

services:
borgmatic:
container_name: borgmatic
environment:
- TZ=Europe/Amsterdam
image: b3vis/borgmatic:v1.1.10-1.4.21
healthcheck:
test: [ "CMD", "pgrep", "crond" ]
interval: 20s
start_period: 30s
timeout: 5s
retries: 10
privileged: true
restart: unless-stopped
volumes:
- /opt/borgmatic/config/crontab.txt:/etc/borgmatic.d/crontab.txt
- /opt/borgmatic/config:/config
- /opt/borgmatic/keys:/keys
- /opt/borgmatic/cache:/cache
- /opt/borgmatic/log:/log
- /root/.ssh:/root/.ssh:ro
- /mnt/yotta/xenon/borg:/repo
- /:/shuttle:ro
- /dev/fuse:/dev/fuse