add proper healthcheck to liberaforms container
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
27351dc8f9
commit
0d5c6ad614
@ -40,6 +40,12 @@ services:
|
|||||||
target: /custom-entrypoint.sh
|
target: /custom-entrypoint.sh
|
||||||
entrypoint: /custom-entrypoint.sh
|
entrypoint: /custom-entrypoint.sh
|
||||||
command: "/usr/bin/supervisord -n"
|
command: "/usr/bin/supervisord -n"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "python", "-c", "import requests; print(requests.get('http://localhost:5000/').status_code)"]
|
||||||
|
timeout: 45s
|
||||||
|
interval: 10s
|
||||||
|
retries: 10
|
||||||
|
start_period: 1m
|
||||||
environment:
|
environment:
|
||||||
- ENABLE_LDAP=False
|
- ENABLE_LDAP=False
|
||||||
- FLASK_DEBUG=False
|
- FLASK_DEBUG=False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user