borgmatic-1sttry

This commit is contained in:
christianh17 2024-05-26 10:33:20 +02:00
parent 354ffdf7e6
commit 39cb885399
1 changed files with 33 additions and 0 deletions

View File

@ -51,6 +51,39 @@ services:
# Ändern Sie dies nur, wenn Sie eine andere Domain für mailcows Web-Frontend verwenden als in der Standard-Konfiguration
- DOMAIN=${MAILCOW_HOSTNAME}
borgmatic-mailcow:
image: ghcr.io/borgmatic-collective/borgmatic
hostname: mailcow
restart: always
dns: ${IPV4_NETWORK:-172.22.1}.254
volumes:
- vmail-vol-1:/mnt/storage/vmail:ro
- crypt-vol-1:/mnt/storage/crypt:ro
- redis-vol-1:/mnt/storage/redis:ro
- rspamd-vol-1:/mnt/storage/rspamd:ro
- postfix-vol-1:/mnt/storage/postfix:ro
- mysql-socket-vol-1:/var/run/mysqld/
- borg-config-vol-1:/root/.config/borg
- borg-cache-vol-1:/root/.cache/borg
- ./data/conf/borgmatic/etc:/etc/borgmatic.d:Z
- ./data/conf/borgmatic/ssh:/root/.ssh:Z
#fehlende Volumes
#vmail-index-vol-1:
#mysql-vol-1:
#solr-vol-1:
#sogo-web-vol-1:
#sogo-userdata-backup-vol-1:
#clamd-db-vol-1:
environment:
- TZ=${TZ}
- BORG_PASSPHRASE=dasIstMeinRichtigesBackup20240526
networks:
mailcow-network:
aliases:
- borgmatic
networks:
web:
external: true