Merge pull request #262 from kroese/patch-1

Fix broken healthcheck
pull/1118/head
Adam 2024-01-18 12:23:45 +00:00 committed by GitHub
commit 8807054580
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -66,6 +66,6 @@ ENV BASE_PATH=""
EXPOSE $PORT EXPOSE $PORT
HEALTHCHECK --interval=60s --timeout=10s --retries=3 CMD if [ -z "$BASE_PATH" ]; then HEALTHPATH="/health"; else HEALTHPATH="/$BASE_PATH/health" ; fi && curl -s "http://localhost:80$HEALTHPATH" | jq -r -e ".online==true" HEALTHCHECK --interval=60s --timeout=10s --retries=3 CMD if [ -z "$BASE_PATH" ]; then HEALTHPATH="/health"; else HEALTHPATH="/$BASE_PATH/health" ; fi && curl -s "http://localhost:${PORT}$HEALTHPATH" | jq -r -e ".online==true"
CMD statping --port $PORT CMD statping --port $PORT