Rename variables to avoid name clash #204

Merged
reynir merged 1 commit from fix-restic-domain into main 2024-03-06 12:40:48 +00:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit a0988aa05d - Show all commits

View file

@ -44,8 +44,8 @@ services:
restic:
volume_folder: "{{ volume_root_folder }}/restic"
pre_deploy_tasks: true
user: dc-user
domain: rynkeby.skovgaard.tel
remote_user: dc-user
remote_domain: rynkeby.skovgaard.tel
host_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBLGol2G+a87ssy0nu/STKBZSiGyhZhZKx/ujfe9IeFo
repository: restic
version: "1.7.0"

View file

@ -8,7 +8,7 @@ services:
environment:
RUN_ON_STARTUP: false
BACKUP_CRON: "0 30 3 * * *"
RESTIC_REPOSITORY: sftp:{{ services.restic.user }}@{{ services.restic.domain }}:{{ services.restic.repository }}
RESTIC_REPOSITORY: sftp:{{ services.restic.remote_user }}@{{ services.restic.remote_domain }}:{{ services.restic.repository }}
RESTIC_PASSWORD: "{{ restic_secrets.repository_password }}"
RESTIC_BACKUP_SOURCES: /mnt/volumes
RESTIC_BACKUP_ARGS: >-
@ -37,7 +37,7 @@ services:
environment:
RUN_ON_STARTUP: false
PRUNE_CRON: "0 30 4 * * *"
RESTIC_REPOSITORY: sftp:{{ services.restic.user }}@{{ services.restic.domain }}:{{ services.restic.repository }}
RESTIC_REPOSITORY: sftp:{{ services.restic.remote_user }}@{{ services.restic.remote_domain }}:{{ services.restic.repository }}
RESTIC_PASSWORD: "{{ restic_secrets.repository_password }}"
TZ: Europe/copenhagen
volumes:

View file

@ -1,3 +1,3 @@
Host {{ services.restic.domain }}
Host {{ services.restic.remote_domain }}
ServerAliveInterval 60
ServerAliveCountMax 240