mirror of
https://github.com/snikket-im/snikket-server.git
synced 2025-10-26 11:19:07 +00:00
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:
parent
8c26ac7076
commit
ac8ff57c01
@ -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
|
||||
|
||||
@ -146,7 +146,6 @@ modules_enabled = {
|
||||
"measure_active_users";
|
||||
"measure_lua";
|
||||
"measure_malloc";
|
||||
"portcheck";
|
||||
}
|
||||
|
||||
registration_watchers = {} -- Disable by default
|
||||
|
||||
@ -120,7 +120,6 @@
|
||||
- mod_measure_lua
|
||||
- mod_measure_malloc
|
||||
- mod_http_xep227
|
||||
- mod_portcheck
|
||||
- mod_sasl2
|
||||
- mod_sasl2_bind2
|
||||
- mod_sasl2_sm
|
||||
|
||||
Loading…
Reference in New Issue
Block a user