prosody: the new version of contrib-prosody-plugins (#1713)
* prosody: update version of prosody-plugings package * prosody: update the version of contrib-prosody-plugins package * prosody: add MATRIX_LOBBY_BYPASS variable to control matrix_lobby_bypass module
This commit is contained in:
@@ -225,6 +225,7 @@ services:
|
|||||||
- MATRIX_UVS_ISSUER
|
- MATRIX_UVS_ISSUER
|
||||||
- MATRIX_UVS_AUTH_TOKEN
|
- MATRIX_UVS_AUTH_TOKEN
|
||||||
- MATRIX_UVS_SYNC_POWER_LEVELS
|
- MATRIX_UVS_SYNC_POWER_LEVELS
|
||||||
|
- MATRIX_LOBBY_BYPASS
|
||||||
- LOG_LEVEL
|
- LOG_LEVEL
|
||||||
- LDAP_AUTH_METHOD
|
- LDAP_AUTH_METHOD
|
||||||
- LDAP_BASE
|
- LDAP_BASE
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ LABEL org.opencontainers.image.url="https://prosody.im/"
|
|||||||
LABEL org.opencontainers.image.source="https://github.com/jitsi/docker-jitsi-meet"
|
LABEL org.opencontainers.image.source="https://github.com/jitsi/docker-jitsi-meet"
|
||||||
LABEL org.opencontainers.image.documentation="https://jitsi.github.io/handbook/"
|
LABEL org.opencontainers.image.documentation="https://jitsi.github.io/handbook/"
|
||||||
|
|
||||||
ARG VERSION_JITSI_CONTRIB_PROSODY_PLUGINS="20230929"
|
ARG VERSION_JITSI_CONTRIB_PROSODY_PLUGINS="20240117"
|
||||||
ARG VERSION_MATRIX_USER_VERIFICATION_SERVICE_PLUGIN="1.8.0"
|
ARG VERSION_MATRIX_USER_VERIFICATION_SERVICE_PLUGIN="1.8.0"
|
||||||
|
|
||||||
RUN wget -qO /etc/apt/trusted.gpg.d/prosody.gpg https://prosody.im/files/prosody-debian-packages.key && \
|
RUN wget -qO /etc/apt/trusted.gpg.d/prosody.gpg https://prosody.im/files/prosody-debian-packages.key && \
|
||||||
@@ -66,6 +66,7 @@ RUN wget -qO /etc/apt/trusted.gpg.d/prosody.gpg https://prosody.im/files/prosody
|
|||||||
tar -xf v$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS.tar.gz && \
|
tar -xf v$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS.tar.gz && \
|
||||||
mv prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS/auth_hybrid_matrix_token/mod_auth_hybrid_matrix_token.lua /prosody-plugins && \
|
mv prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS/auth_hybrid_matrix_token/mod_auth_hybrid_matrix_token.lua /prosody-plugins && \
|
||||||
mv prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS/auth_hybrid_matrix_token/mod_matrix_affiliation.lua /prosody-plugins && \
|
mv prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS/auth_hybrid_matrix_token/mod_matrix_affiliation.lua /prosody-plugins && \
|
||||||
|
mv prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS/auth_hybrid_matrix_token/mod_matrix_lobby_bypass.lua /prosody-plugins && \
|
||||||
rm -rf prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS v$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS.tar.gz
|
rm -rf prosody-plugins-$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS v$VERSION_JITSI_CONTRIB_PROSODY_PLUGINS.tar.gz
|
||||||
|
|
||||||
COPY rootfs/ /
|
COPY rootfs/ /
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
{{ $JWT_ENABLE_DOMAIN_VERIFICATION := .Env.JWT_ENABLE_DOMAIN_VERIFICATION | default "false" | toBool -}}
|
{{ $JWT_ENABLE_DOMAIN_VERIFICATION := .Env.JWT_ENABLE_DOMAIN_VERIFICATION | default "false" | toBool -}}
|
||||||
{{ $MATRIX_UVS_ISSUER := .Env.MATRIX_UVS_ISSUER | default "issuer" -}}
|
{{ $MATRIX_UVS_ISSUER := .Env.MATRIX_UVS_ISSUER | default "issuer" -}}
|
||||||
{{ $MATRIX_UVS_SYNC_POWER_LEVELS := .Env.MATRIX_UVS_SYNC_POWER_LEVELS | default "0" | toBool -}}
|
{{ $MATRIX_UVS_SYNC_POWER_LEVELS := .Env.MATRIX_UVS_SYNC_POWER_LEVELS | default "0" | toBool -}}
|
||||||
|
{{ $MATRIX_LOBBY_BYPASS := .Env.MATRIX_LOBBY_BYPASS | default "0" | toBool -}}
|
||||||
{{ $JWT_TOKEN_AUTH_MODULE := .Env.JWT_TOKEN_AUTH_MODULE | default "token_verification" -}}
|
{{ $JWT_TOKEN_AUTH_MODULE := .Env.JWT_TOKEN_AUTH_MODULE | default "token_verification" -}}
|
||||||
{{ $ENABLE_LOBBY := .Env.ENABLE_LOBBY | default "true" | toBool -}}
|
{{ $ENABLE_LOBBY := .Env.ENABLE_LOBBY | default "true" | toBool -}}
|
||||||
{{ $ENABLE_AV_MODERATION := .Env.ENABLE_AV_MODERATION | default "true" | toBool -}}
|
{{ $ENABLE_AV_MODERATION := .Env.ENABLE_AV_MODERATION | default "true" | toBool -}}
|
||||||
@@ -330,6 +331,9 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
|
|||||||
{{ if and $ENABLE_AUTH (eq $PROSODY_AUTH_TYPE "hybrid_matrix_token") $MATRIX_UVS_SYNC_POWER_LEVELS -}}
|
{{ if and $ENABLE_AUTH (eq $PROSODY_AUTH_TYPE "hybrid_matrix_token") $MATRIX_UVS_SYNC_POWER_LEVELS -}}
|
||||||
"matrix_affiliation";
|
"matrix_affiliation";
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
{{ if and $ENABLE_AUTH (eq $PROSODY_AUTH_TYPE "hybrid_matrix_token") $MATRIX_LOBBY_BYPASS -}}
|
||||||
|
"matrix_lobby_bypass";
|
||||||
|
{{ end -}}
|
||||||
{{ if not $DISABLE_POLLS -}}
|
{{ if not $DISABLE_POLLS -}}
|
||||||
"polls";
|
"polls";
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user