File tree Expand file tree Collapse file tree 7 files changed +15
-1
lines changed
jicofo/rootfs/usr/local/bin
jigasi/rootfs/usr/local/bin Expand file tree Collapse file tree 7 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 13
13
*) echo "unsupported architecture" ; exit 1 ;; \
14
14
esac && \
15
15
apt-dpkg-wrap apt-get update && \
16
- apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget && \
16
+ apt-dpkg-wrap apt-get install -y apt-transport-https apt-utils ca-certificates gnupg wget curl && \
17
17
wget -qO /usr/bin/tpl https://github.com/jitsi/tpl/releases/download/v1.3.0/tpl-linux-${TPL_ARCH} && \
18
18
# Workaround S6 bug when /bin is a symlink
19
19
wget -qO /tmp/s6.tar.gz https://github.com/just-containers/s6-overlay/releases/download/v1.22.1.0/s6-overlay-${S6_ARCH}.tar.gz && \
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ curl --fail-with-body http://127.0.0.1:8888/about/health
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ curl --fail-with-body http://127.0.0.1:8788/about/health
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ curl --fail-with-body http://127.0.0.1:8080/about/health
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ RUN wget -qO /etc/apt/trusted.gpg.d/prosody.gpg https://prosody.im/files/prosody
57
57
rm -rf /usr/share/lua/{5.1,5.2,5.3} && \
58
58
wget -qO /prosody-plugins/mod_auth_cyrus.lua https://hg.prosody.im/prosody-modules/raw-file/65438e4ba563/mod_auth_cyrus/mod_auth_cyrus.lua && \
59
59
wget -qO /prosody-plugins/sasl_cyrus.lua https://hg.prosody.im/prosody-modules/raw-file/65438e4ba563/mod_auth_cyrus/sasl_cyrus.lua && \
60
+ wget -qO /prosody-plugins/mod_http_health.lua https://hg.prosody.im/prosody-modules/raw-file/2b80188448d1/mod_http_health/mod_http_health.lua && \
60
61
wget https://github.com/matrix-org/prosody-mod-auth-matrix-user-verification/archive/refs/tags/v$VERSION_MATRIX_USER_VERIFICATION_SERVICE_PLUGIN.tar.gz && \
61
62
tar -xf v$VERSION_MATRIX_USER_VERIFICATION_SERVICE_PLUGIN.tar.gz && \
62
63
mv prosody-mod-auth-matrix-user-verification-$VERSION_MATRIX_USER_VERIFICATION_SERVICE_PLUGIN/mod_auth_matrix_user_verification.lua /prosody-plugins && \
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ modules_enabled = {
99
99
-- "watchregistrations"; -- Alert admins of registrations
100
100
-- "motd"; -- Send a message to users when they log in
101
101
-- "legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
102
+ " http_health" ;
102
103
{{ if eq .Env .PROSODY_MODE " brewery" - }}
103
104
" firewall" ; -- Enable firewalling
104
105
" secure_interfaces" ;
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ curl --fail-with-body http://127.0.0.1:5280/health
You can’t perform that action at this time.
0 commit comments