Files
opt/compose.borgmatic.yaml
2025-09-01 09:21:47 +02:00

27 lines
702 B
YAML

services:
borgmatic:
container_name: borgmatic
image: b3vis/borgmatic:2.0.7
environment:
- TZ=Europe/Amsterdam
extra_hosts:
- host:192.168.2.200
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