pull or test
This commit is contained in:
parent
45a6b7f0c9
commit
7a5f565088
|
@ -18,6 +18,7 @@
|
|||
borg_group: "{{ borg_my_group }}"
|
||||
borgmatic_timer: cron
|
||||
borg_ssh_command: "ssh -o StrictHostKeyChecking=no -i {{ borg_ssh_key }}"
|
||||
borgmatic_relocated_repo_access_is_ok: true
|
||||
borg_source_directories:
|
||||
"{{ base_files + (extra_files[inventory_hostname] | default([])) }}"
|
||||
borg_retention_policy:
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
|
||||
dns_servers:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
- 10.155.0.1
|
||||
dns_domains:
|
||||
- ["hatecomputers.club"]
|
||||
dns_dnssec: true
|
||||
- hatecomputers.club
|
||||
dns_dnssec: false
|
||||
dns_stub_listener: false
|
||||
|
||||
rfc1918_networks:
|
||||
|
|
|
@ -6,7 +6,7 @@ After=docker.service
|
|||
[Service]
|
||||
RemainAfterExit=true
|
||||
WorkingDirectory=/etc/docker/compose/%i
|
||||
ExecStartPre=/usr/bin/docker compose pull
|
||||
ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || /bin/test"
|
||||
ExecStart=/usr/bin/docker compose up --detach --remove-orphans
|
||||
ExecStop=/usr/bin/docker compose down
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in New Issue