Change config
This commit is contained in:
parent
0934860d62
commit
456451b125
|
@ -14,8 +14,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
RUN_ON_STARTUP: 'true'
|
RUN_ON_STARTUP: 'true'
|
||||||
BACKUP_CRON: '0 30 3 * * *' # backups run every day at 03:30
|
BACKUP_CRON: '0 30 3 * * *' # backups run every day at 03:30
|
||||||
RESTIC_PASSWORD: /run/secrets/restic_password
|
RESTIC_PASSWORD: ${RESTIC_PASSWORD}
|
||||||
RESTIC_REPOSITORY: b2:gal-velouria
|
RESTIC_REPOSITORY: ${B2_BUCKET}
|
||||||
RESTIC_BACKUP_SOURCES: /source
|
RESTIC_BACKUP_SOURCES: /source
|
||||||
RESTIC_BACKUP_ARGS: >-
|
RESTIC_BACKUP_ARGS: >-
|
||||||
--tag docker-volumes
|
--tag docker-volumes
|
||||||
|
@ -25,8 +25,8 @@ services:
|
||||||
--keep-daily 7
|
--keep-daily 7
|
||||||
--keep-weekly 5
|
--keep-weekly 5
|
||||||
--keep-monthly 12
|
--keep-monthly 12
|
||||||
B2_ACCOUNT_ID: /run/secrets/b2_account_id
|
B2_ACCOUNT_ID: ${B2_ACCOUNT_ID}
|
||||||
B2_ACCOUNT_KEY: /run/secrets/b2_account_key
|
B2_ACCOUNT_KEY: ${B2_ACCOUNT_KEY}
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
secrets:
|
secrets:
|
||||||
- b2_bucket
|
- b2_bucket
|
||||||
|
@ -42,10 +42,10 @@ services:
|
||||||
environment:
|
environment:
|
||||||
RUN_ON_STARTUP: 'false'
|
RUN_ON_STARTUP: 'false'
|
||||||
PRUNE_CRON: '0 0 4 * * *' # prune runs every day at 04:00
|
PRUNE_CRON: '0 0 4 * * *' # prune runs every day at 04:00
|
||||||
RESTIC_REPOSITORY: b2:gal-velouria
|
RESTIC_REPOSITORY: ${B2_BUCKET}
|
||||||
RESTIC_PASSWORD: /run/secrets/restic_password
|
RESTIC_PASSWORD: ${RESTIC_PASSWORD}
|
||||||
B2_ACCOUNT_ID: /run/secrets/b2_account_id
|
B2_ACCOUNT_ID: ${B2_ACCOUNT_ID}
|
||||||
B2_ACCOUNT_KEY: /run/secrets/b2_account_key
|
B2_ACCOUNT_KEY: ${B2_ACCOUNT_KEY}
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
secrets:
|
secrets:
|
||||||
- b2_bucket
|
- b2_bucket
|
||||||
|
@ -63,10 +63,10 @@ services:
|
||||||
CHECK_CRON: '0 30 4 * * *' # check runs every day at 04:30
|
CHECK_CRON: '0 30 4 * * *' # check runs every day at 04:30
|
||||||
RESTIC_CHECK_ARGS: >-
|
RESTIC_CHECK_ARGS: >-
|
||||||
--read-data-subset=10%
|
--read-data-subset=10%
|
||||||
RESTIC_REPOSITORY: b2:gal-velouria
|
RESTIC_REPOSITORY: ${B2_BUCKET}
|
||||||
RESTIC_PASSWORD: /run/secrets/restic_password
|
RESTIC_PASSWORD: ${RESTIC_PASSWORD}
|
||||||
B2_ACCOUNT_ID: /run/secrets/b2_account_id
|
B2_ACCOUNT_ID: ${B2_ACCOUNT_ID}
|
||||||
B2_ACCOUNT_KEY: /run/secrets/b2_account_key
|
B2_ACCOUNT_KEY: ${B2_ACCOUNT_KEY}
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
secrets:
|
secrets:
|
||||||
- b2_bucket
|
- b2_bucket
|
||||||
|
@ -76,13 +76,3 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
private: {}
|
private: {}
|
||||||
|
|
||||||
secrets:
|
|
||||||
restic_password:
|
|
||||||
file: /etc/secure_config/.restic_password.txt
|
|
||||||
b2_account_id:
|
|
||||||
file: /etc/secure_config/.b2_account_id.txt
|
|
||||||
b2_account_key:
|
|
||||||
file: /etc/secure_config/.b2_account_key.txt
|
|
||||||
b2_bucket:
|
|
||||||
file: /etc/secure_config/.b2_bucket.txt
|
|
Loading…
Reference in New Issue