mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-08 09:35:14 +02:00
Added line breaks
This commit is contained in:
parent
e25565c517
commit
9762de2901
@ -15,3 +15,4 @@
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{{ "\n" }}
|
||||||
|
@ -6,4 +6,5 @@
|
|||||||
- "http://127.0.0.1{{ (":" ~ container_port) if container_port is defined else '' }}/{{ container_healthcheck | default('') }}"
|
- "http://127.0.0.1{{ (":" ~ container_port) if container_port is defined else '' }}/{{ container_healthcheck | default('') }}"
|
||||||
interval: 1m
|
interval: 1m
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
{{ "\n" }}
|
@ -22,3 +22,4 @@
|
|||||||
interval: 1m
|
interval: 1m
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
{{ "\n" }}
|
@ -3,4 +3,5 @@
|
|||||||
- "CMD"
|
- "CMD"
|
||||||
- "bash"
|
- "bash"
|
||||||
- "-c"
|
- "-c"
|
||||||
- "exec 3<>/dev/tcp/localhost/{{ container_port }} && echo -e 'GET /{{ container_healthcheck | default('') }} HTTP/1.1\\r\\nHost: localhost\\r\\nConnection: close\\r\\n\\r\\n' >&3 && cat <&3 | grep -q 'HTTP/1.1'"
|
- "exec 3<>/dev/tcp/localhost/{{ container_port }} && echo -e 'GET /{{ container_healthcheck | default('') }} HTTP/1.1\\r\\nHost: localhost\\r\\nConnection: close\\r\\n\\r\\n' >&3 && cat <&3 | grep -q 'HTTP/1.1'"
|
||||||
|
{{ "\n" }}
|
@ -7,4 +7,5 @@
|
|||||||
- "http://127.0.0.1{{ (":" ~ container_port) if container_port is defined else '' }}/{{ container_healthcheck | default('') }}"
|
- "http://127.0.0.1{{ (":" ~ container_port) if container_port is defined else '' }}/{{ container_healthcheck | default('') }}"
|
||||||
interval: 1m
|
interval: 1m
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
{{ "\n" }}
|
Loading…
x
Reference in New Issue
Block a user