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 untrusted user: samsapti
GPG key ID: CBBBE7371E81C4EA

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