mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-20 15:04:57 +02:00
Moved Healthcheck to Dockerfile
This commit is contained in:
parent
dfcd35bacc
commit
c03330dcd3
@ -5,11 +5,6 @@ services:
|
|||||||
dockerfile: {{ path_cymais_presentation_output.stdout }}/Dockerfile
|
dockerfile: {{ path_cymais_presentation_output.stdout }}/Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:5000"
|
- "127.0.0.1:{{ports.localhost.http[application_id]}}:5000"
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:5000"]
|
|
||||||
interval: 1m
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
volumes:
|
volumes:
|
||||||
- {{ path_cymais_presentation_output.stdout }}:/app
|
- {{ path_cymais_presentation_output.stdout }}:/app
|
||||||
- {{ path_cymais_output.stdout }}:/source
|
- {{ path_cymais_output.stdout }}:/source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user