add proper healthcheck to liberaforms container
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
brooke 2025-06-19 16:36:26 -04:00
parent 27351dc8f9
commit 0d5c6ad614

View File

@ -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