update docker-compose
This commit is contained in:
parent
6a97cfb055
commit
e083b30ea2
@ -18,6 +18,7 @@
|
|||||||
borg_ssh_command: "ssh -o StrictHostKeyChecking=no -i {{ borg_ssh_key }}"
|
borg_ssh_command: "ssh -o StrictHostKeyChecking=no -i {{ borg_ssh_key }}"
|
||||||
borg_source_directories:
|
borg_source_directories:
|
||||||
"{{ base_files + (extra_files[inventory_hostname] | default([])) }}"
|
"{{ base_files + (extra_files[inventory_hostname] | default([])) }}"
|
||||||
|
borgmatic_relocated_repo_access_is_ok: True
|
||||||
borg_retention_policy:
|
borg_retention_policy:
|
||||||
keep_hourly: 3
|
keep_hourly: 3
|
||||||
keep_daily: 7
|
keep_daily: 7
|
||||||
|
@ -9,7 +9,7 @@ Restart=always
|
|||||||
RestartSec=3
|
RestartSec=3
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
WorkingDirectory=/etc/docker/compose/%i
|
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
|
ExecStart=/usr/bin/docker compose up --detach --remove-orphans
|
||||||
ExecStop=/usr/bin/docker compose down
|
ExecStop=/usr/bin/docker compose down
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user