referred volumes and TZ to environment variables

pull/33/head
toastie89 2019-08-02 21:57:01 +02:00 zatwierdzone przez GitHub
rodzic 344d46aa13
commit 762f46eb61
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 8 dodań i 7 usunięć

Wyświetl plik

@ -4,11 +4,12 @@ services:
image: b3vis/borgmatic
container_name: borgmatic
volumes:
- '/home:/mnt/source:ro' # backup source
- '/opt/docker/docker-borgmatic/data/repository:/mnt/repository' # backup target
- '/opt/docker/docker-borgmatic/data/borgmatic.d:/etc/borgmatic.d/' # borgmatic config file(s) + crontab.txt
- '/opt/docker/docker-borgmatic/data/.config:/root/.config/borg' # config and keyfiles
- '/opt/docker/docker-borgmatic/data/.ssh:/root/.ssh' # ssh key for remote repositories
- '/opt/docker/docker-borgmatic/data/.cache:/root/.cache/borg' # checksums used for deduplication
- ${VOLUME_SOURCE}:/mnt/source:ro # backup source
- ${VOLUME_TARGET}:/mnt/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=Europe/Berlin
- TZ=${TZ}
- BORG_PASSPHRASE=${BORG_PASSPHRASE}