Split docker-compose.yml into one file per service

This commit is contained in:
Bram Veenboer
2024-11-28 19:34:24 +01:00
parent 5f65c8db9d
commit 0bbca6efc1
30 changed files with 492 additions and 443 deletions

View File

@@ -0,0 +1,19 @@
services:
borgmatic:
cap_add:
- sys_admin
container_name: borgmatic
environment:
- TZ=Europe/Amsterdam
image: b3vis/borgmatic:1.9.1
privileged: true
restart: unless-stopped
volumes:
- /media:/media
- /:/host
- /root/.ssh:/root/.ssh
- /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