Dockerfile: Remove noisy health check

Using the Shell causes a lot verbose and scary logging that users
often interpret as being attacked.

Doing health checks via HTTP is unrelaible because of the use of host
networking, where another XMPP server or something already running on
the checked ports being indistinguishable from Snikket running there.
This commit is contained in:
Kim Alvefur 2025-09-28 15:49:37 +02:00
parent 8c26ac7076
commit ac8ff57c01
3 changed files with 0 additions and 4 deletions

View File

@ -14,8 +14,6 @@ ADD docker/entrypoint.sh /bin/entrypoint.sh
RUN chmod 770 /bin/entrypoint.sh
ENTRYPOINT ["/bin/entrypoint.sh"]
HEALTHCHECK CMD /usr/bin/prosodyctl shell "portcheck ${SNIKKET_TWEAK_INTERNAL_HTTP_INTERFACE:-127.0.0.1}:${SNIKKET_TWEAK_INTERNAL_HTTP_PORT:-5280}"
ADD ansible /opt/ansible
ADD snikket-modules /usr/local/lib/snikket-modules

View File

@ -146,7 +146,6 @@ modules_enabled = {
"measure_active_users";
"measure_lua";
"measure_malloc";
"portcheck";
}
registration_watchers = {} -- Disable by default

View File

@ -120,7 +120,6 @@
- mod_measure_lua
- mod_measure_malloc
- mod_http_xep227
- mod_portcheck
- mod_sasl2
- mod_sasl2_bind2
- mod_sasl2_sm