You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-jitsi/docker-compose.yml

135 lines
3.3 KiB

version: "3"
services:
web:
image: ${WEB_IMG:-jitsi/web}:${WEB_TAG:-latest}
container_name: ${WEB_CONTAINER_NAME:-jitsi-web}
restart: ${WEB_RESTART:-unless-stopped}
expose:
- "80"
- "8443"
networks:
meet.jitsi:
aliases:
- ${XMPP_DOMAIN}
webservices:
volumes:
- ${LOCAL_STACK_DIR}/web:/config:Z
- ${LOCAL_STACK_DIR}/transcripts:/usr/share/jitsi-meet/transcripts:Z
- ${LOCAL_STACK_DIR}/web/custom/images:/usr/share/jitsi-meet/images:ro
- ${LOCAL_STACK_DIR}/web/custom/title.html:/usr/share/jitsi-meet/title.html:ro
- ${LOCAL_STACK_DIR}/web/custom/body.html:/usr/share/jitsi-meet/body.html:ro
- ${LOCAL_STACK_DIR}/web/custom/css/custom.css:/usr/share/jitsi-meet/css/custom.css:ro
env_file:
- web.env
environment:
- TZ
- ENABLE_XMPP_WEBSOCKET
- PUBLIC_URL
- ENABLE_AUTH
- ENABLE_GUESTS
- JICOFO_AUTH_USER
- XMPP_AUTH_DOMAIN
- XMPP_DOMAIN
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN
prosody:
image: ${PRS_IMG:-jitsi/prosody}:${PRS_TAG:-latest}
container_name: ${PRS_CONTAINER_NAME:-jitsi-prosody}
restart: ${PRS_RESTART:-unless-stopped}
expose:
- "5222"
- "5347"
- "5280"
networks:
meet.jitsi:
aliases:
- ${XMPP_SERVER}
volumes:
- ${LOCAL_STACK_DIR}/prosody/config:/config:Z
- ${LOCAL_STACK_DIR}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z
env_file:
- prosody.env
environment:
- TZ
- JICOFO_COMPONENT_SECRET
- JICOFO_AUTH_PASSWORD
- JVB_AUTH_PASSWORD
- AUTH_TYPE
- ENABLE_AUTH
- ENABLE_GUESTS
- ENABLE_XMPP_WEBSOCKET
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_GUEST_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN
- JICOFO_AUTH_USER
- JVB_AUTH_USER
- PUBLIC_URL
jicofo:
image: ${JCF_IMG:-jitsi/jicofo}:${JCF_TAG:-latest}
container_name: ${JCF_CONTAINER_NAME:-jitsi-jicofo}
restart: ${JCF_RESTART:-unless-stopped}
networks:
meet.jitsi:
volumes:
- ${LOCAL_STACK_DIR}/jicofo:/config:Z
env_file:
- jicofo.env
environment:
- TZ
- JICOFO_COMPONENT_SECRET
- JICOFO_AUTH_PASSWORD
- AUTH_TYPE
- ENABLE_AUTH
- XMPP_DOMAIN
- XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_MUC_DOMAIN
- XMPP_SERVER
- JICOFO_AUTH_USER
- JVB_BREWERY_MUC
depends_on:
- prosody
jvb:
image: ${JVB_IMG:-jitsi/jvb}:${JVB_TAG:-latest}
container_name: ${JVB_CONTAINER_NAME:-jitsi-jvb}
restart: ${JVB_RESTART:-unless-stopped}
ports:
- ${JVB_PORT}:${JVB_PORT}/udp
- ${JVB_TCP_PORT}:${JVB_TCP_PORT}
networks:
meet.jitsi:
aliases:
- jvb.meet.jitsi
volumes:
- ${LOCAL_STACK_DIR}/jvb:/config:Z
env_file:
- jvb.env
environment:
- TZ
- JVB_AUTH_PASSWORD
- XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_SERVER
- JVB_AUTH_USER
- JVB_BREWERY_MUC
- JVB_TCP_PORT
- JVB_PORT
- PUBLIC_URL
depends_on:
- prosody
# Custom network so all services can communicate using a FQDN
networks:
meet.jitsi:
webservices:
external:
name: webservices