forked from data.coop/ansible
Add hostname to Restic container
This commit is contained in:
parent
92ca044d06
commit
e633ca13b4
|
@ -5,6 +5,8 @@ services:
|
||||||
backup:
|
backup:
|
||||||
image: mazzolino/restic:{{ services.restic.version }}
|
image: mazzolino/restic:{{ services.restic.version }}
|
||||||
restart: always
|
restart: always
|
||||||
|
hostname: {{ inventory_hostname_short }}
|
||||||
|
domainname: {{ inventory_hostname }}
|
||||||
environment:
|
environment:
|
||||||
RUN_ON_STARTUP: false
|
RUN_ON_STARTUP: false
|
||||||
BACKUP_CRON: "0 30 3 * * *"
|
BACKUP_CRON: "0 30 3 * * *"
|
||||||
|
|
Loading…
Reference in a new issue