Make Healthcheck comply to relative root (#17)

* make healthcheck comply to relative root

* make healthcheck comply to relative root
This commit is contained in:
lgaida
2022-01-03 16:05:36 +01:00
committed by GitHub
parent 01a293a53c
commit 91039b22be

View File

@@ -73,7 +73,7 @@ services:
labels: labels:
- autoheal=true - autoheal=true
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health_checks/default"] test: ["CMD", "curl", "-f", "http://localhost:8080${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}/health_checks/default"]
interval: 10s interval: 10s
timeout: 3s timeout: 3s
retries: 3 retries: 3