kopia lustrzana https://github.com/modem7/docker-borgmatic
16 wiersze
657 B
YAML
16 wiersze
657 B
YAML
version: '2.4'
|
|
services:
|
|
borgmatic:
|
|
image: modem7/borgmatic-docker
|
|
container_name: Borgmatic
|
|
volumes:
|
|
- ${VOLUME_SOURCE}:/mnt/source:ro # backup source
|
|
- ${VOLUME_TARGET}:/mnt/borg-repository # backup target
|
|
- ${VOLUME_ETC_BORGMATIC}:/etc/borgmatic.d/ # borgmatic config file(s) + crontab.txt
|
|
- ${VOLUME_BORG_CONFIG}:/root/.config/borg # config and keyfiles
|
|
- ${VOLUME_SSH}:/root/.ssh # ssh key for remote repositories
|
|
- ${VOLUME_BORG_CACHE}:/root/.cache/borg # checksums used for deduplication
|
|
environment:
|
|
- TZ=${TZ}
|
|
- BORG_PASSPHRASE=${BORG_PASSPHRASE}
|