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_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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user