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
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ services:
backup:
image: mazzolino/restic:{{ services.restic.version }}
restart: always
hostname: {{ inventory_hostname_short }}
domainname: {{ inventory_hostname }}
environment:
RUN_ON_STARTUP: false
BACKUP_CRON: "0 30 3 * * *"