mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-08 01:25:14 +02:00
10 lines
298 B
Django/Jinja
10 lines
298 B
Django/Jinja
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 |