mirror of
https://github.com/casjaysdevdocker/prosody
synced 2026-06-24 02:01:03 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# healthcheck.sh — container health probe
|
||||
# Returns 0 (healthy) if prosody's HTTP health endpoint responds 200
|
||||
|
||||
: "${PROSODY_HTTP_PORT:=5280}"
|
||||
|
||||
curl -q -LSs --max-time 5 "http://127.0.0.1:${PROSODY_HTTP_PORT}/health" -o /dev/null
|
||||
Reference in New Issue
Block a user