[jitsi] Expose prosody on the public IP for JitsiScale

This commit is contained in:
Bernhard "bero" Rosenkränzer (Boggins) 2024-11-02 01:17:10 +01:00
parent 4377b98f5b
commit bcb98d7aa4

View File

@ -189,6 +189,19 @@ if [ "$JITSI_SCALE" != "server" ]; then
- '\${XMPP_PORT:-5222}'
- '5347'
- '5280'
EOF
if [ "$JITSI_SCALE" = "client" ]; then
cat >> /federated/apps/jitsi/docker-compose.yml <<EOF
ports:
- '5222:5222'
- '5347:5347'
- '5280:5280'
EOF
fi
cat >> /federated/apps/jitsi/docker-compose.yml <<EOF
volumes:
- \${CONFIG}/prosody/config:/config:Z
- \${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z