grocy: Add docker hostname to backup container

This commit is contained in:
Marty Oehme 2025-07-18 17:28:29 +02:00
parent 9cf1a5e571
commit f1be696479
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -19,6 +19,7 @@ services:
{% if restic_enable is not undefined and not false and stack_grocy_restic_enable is not undefined and not false %} {% if restic_enable is not undefined and not false and stack_grocy_restic_enable is not undefined and not false %}
backup: backup:
image: mazzolino/restic image: mazzolino/restic
hostname: "{{ ansible_hostname }}"
environment: environment:
TZ: "{{ restic_tz }}" TZ: "{{ restic_tz }}"
BACKUP_CRON: "{{ stack_grocy_restic_cron }}" BACKUP_CRON: "{{ stack_grocy_restic_cron }}"