[jitsi] Expose prosody on the public IP for JitsiScale
This commit is contained in:
parent
4377b98f5b
commit
bcb98d7aa4
13
lib/jitsi.sh
13
lib/jitsi.sh
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user