Add hostname to Restic container

This commit is contained in:
Sam A. 2024-03-29 21:01:50 +01:00
parent 92ca044d06
commit e633ca13b4
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -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 * * *"