Add backup to node001 and timeout to healthcheck
This commit is contained in:
parent
03f83ef7fd
commit
cad06cae96
4 changed files with 17 additions and 5 deletions
roles/healthcheck/templates
5
roles/healthcheck/templates/healthcheck@.service.j2
Normal file
5
roles/healthcheck/templates/healthcheck@.service.j2
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/docker compose run --rm %i
|
||||
WorkingDirectory={{ service_path }}
|
||||
RuntimeMaxSec=300
|
Reference in a new issue