mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored docker-compose roles
This commit is contained in:
10
roles/docker-container/templates/healthcheck/wget.yml.j2
Normal file
10
roles/docker-container/templates/healthcheck/wget.yml.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
healthcheck:
|
||||
test:
|
||||
- "CMD"
|
||||
- "wget"
|
||||
- "--spider"
|
||||
- "--proxy=off"
|
||||
- "http://127.0.0.1{{ (":" ~ container_port) if container_port is defined else '' }}/{{ container_healthcheck | default('') }}"
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
Reference in New Issue
Block a user