Add restore bind mount and hostname to restic
This commit is contained in:
parent
af7e997d1d
commit
000726debe
|
@ -7,6 +7,8 @@ services:
|
|||
backup:
|
||||
image: mazzolino/restic:{{ apps_vars.restic.version }}
|
||||
restart: always
|
||||
hostname: {{ hostname }}
|
||||
domainname: {{ fqdn }}
|
||||
environment:
|
||||
RUN_ON_STARTUP: false
|
||||
BACKUP_CRON: 0 0 3 * * *
|
||||
|
@ -33,6 +35,7 @@ services:
|
|||
TZ: {{ timezone }}
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
||||
- "./data:/mnt/restore:rw"
|
||||
{% for app in apps_backup|sort %}
|
||||
- "{{ apps_data_root }}/{{ app }}/data:/mnt/volumes/{{ app }}:ro"
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue