inline health check

This commit is contained in:
ElevenNotes
2025-02-06 12:08:12 +01:00
parent 6d925ffc62
commit 2a22a33e47
2 changed files with 1 additions and 3 deletions

View File

@@ -73,7 +73,7 @@
VOLUME ["${APP_ROOT}/var"]
# :: Monitor
HEALTHCHECK --interval=5s --timeout=2s CMD /usr/local/bin/healthcheck.sh || exit 1
HEALTHCHECK --interval=5s --timeout=2s CMD curl -X GET -kILs --fail http://localhost:${PORT} || exit 1
# :: Start
USER docker

View File

@@ -1,2 +0,0 @@
#!/bin/ash
netstat -an | grep -q ${KMS_PORT}