build borgmatic with expra packages

This commit is contained in:
2025-10-01 19:50:06 +02:00
parent 9c4a483a54
commit c70f1ac71d

View File

@@ -1,7 +1,8 @@
services: services:
borgmatic: borgmatic:
container_name: borgmatic container_name: borgmatic
image: b3vis/borgmatic:2.0.7 build:
context: /opt/borgmatic/
environment: environment:
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
extra_hosts: extra_hosts:
@@ -15,10 +16,10 @@ services:
privileged: true privileged: true
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /opt/borgmatic/config/crontab.txt:/etc/borgmatic.d/crontab.txt - /opt/borgmatic/crontab.txt:/etc/borgmatic.d/crontab.txt
- /opt/borgmatic/config:/config - /opt/borgmatic/config:/config
- /opt/borgmatic/scripts:/scripts
- /opt/borgmatic/keys:/keys - /opt/borgmatic/keys:/keys
- /opt/borgmatic/cache:/cache
- /opt/borgmatic/log:/log - /opt/borgmatic/log:/log
- /root/.ssh:/root/.ssh:ro - /root/.ssh:/root/.ssh:ro
- /mnt/yotta/xenon/borg:/repo - /mnt/yotta/xenon/borg:/repo