update docker-compose

This commit is contained in:
Elizabeth Hunt 2024-07-02 00:55:09 -04:00
parent 6a97cfb055
commit e083b30ea2
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
borg_ssh_command: "ssh -o StrictHostKeyChecking=no -i {{ borg_ssh_key }}"
borg_source_directories:
"{{ base_files + (extra_files[inventory_hostname] | default([])) }}"
borgmatic_relocated_repo_access_is_ok: True
borg_retention_policy:
keep_hourly: 3
keep_daily: 7

View File

@ -9,7 +9,7 @@ Restart=always
RestartSec=3
RemainAfterExit=true
WorkingDirectory=/etc/docker/compose/%i
ExecStartPre=/usr/bin/docker compose pull
ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || true"
ExecStart=/usr/bin/docker compose up --detach --remove-orphans
ExecStop=/usr/bin/docker compose down