feat(jigasi,jicofo,jvb,jibri,prosody): add healthcheck.sh scripts and prosody http_health mod

This commit is contained in:
Sebastian Denz
2024-07-02 17:50:25 +02:00
committed by GitHub
parent d2ac43d46e
commit c65d2bd2fc
7 changed files with 15 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ modules_enabled = {
--"watchregistrations"; -- Alert admins of registrations
--"motd"; -- Send a message to users when they log in
--"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
"http_health";
{{ if eq .Env.PROSODY_MODE "brewery" -}}
"firewall"; -- Enable firewalling
"secure_interfaces";

View File

@@ -0,0 +1,3 @@
#!/bin/bash
curl --fail-with-body http://127.0.0.1:5280/health