examples: update Traefik v1 example

The example docker-compose.yml for Traefik v1 is an old version; added SELinux for volumes, added environment variables, prosody changed volumes, support for container restart configuration.
pull/630/head
bluikko 5 years ago committed by GitHub
parent 1381b08ad8
commit 22b7063e3a
  1. 21
      examples/traefik/docker-compose.yml

@ -4,10 +4,11 @@ services:
# Frontend # Frontend
web: web:
image: jitsi/web image: jitsi/web
restart: ${RESTART_POLICY}
volumes: volumes:
- ${CONFIG}/web:/config - ${CONFIG}/web:/config:Z
- ${CONFIG}/web/letsencrypt:/etc/letsencrypt - ${CONFIG}/web/letsencrypt:/etc/letsencrypt:Z
- ${CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts - ${CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts:Z
environment: environment:
- ENABLE_AUTH - ENABLE_AUTH
- ENABLE_GUESTS - ENABLE_GUESTS
@ -52,12 +53,14 @@ services:
# XMPP server # XMPP server
prosody: prosody:
image: jitsi/prosody image: jitsi/prosody
restart: ${RESTART_POLICY}
expose: expose:
- '5222' - '5222'
- '5347' - '5347'
- '5280' - '5280'
volumes: volumes:
- ${CONFIG}/prosody:/config - ${CONFIG}/prosody/config:/config:Z
- ${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z
environment: environment:
- AUTH_TYPE - AUTH_TYPE
- ENABLE_AUTH - ENABLE_AUTH
@ -115,9 +118,11 @@ services:
# Focus component # Focus component
jicofo: jicofo:
image: jitsi/jicofo image: jitsi/jicofo
restart: ${RESTART_POLICY}
volumes: volumes:
- ${CONFIG}/jicofo:/config - ${CONFIG}/jicofo:/config:Z
environment: environment:
- AUTH_TYPE
- ENABLE_AUTH - ENABLE_AUTH
- XMPP_DOMAIN - XMPP_DOMAIN
- XMPP_AUTH_DOMAIN - XMPP_AUTH_DOMAIN
@ -130,6 +135,7 @@ services:
- JVB_BREWERY_MUC - JVB_BREWERY_MUC
- JIGASI_BREWERY_MUC - JIGASI_BREWERY_MUC
- JIBRI_BREWERY_MUC - JIBRI_BREWERY_MUC
- JIGASI_SIP_URI
- JIBRI_PENDING_TIMEOUT - JIBRI_PENDING_TIMEOUT
- TZ - TZ
depends_on: depends_on:
@ -140,11 +146,12 @@ services:
# Video bridge # Video bridge
jvb: jvb:
image: jitsi/jvb image: jitsi/jvb
restart: ${RESTART_POLICY}
ports: ports:
- '${JVB_PORT}:${JVB_PORT}/udp' - '${JVB_PORT}:${JVB_PORT}/udp'
- '${JVB_TCP_PORT}:${JVB_TCP_PORT}' - '${JVB_TCP_MAPPED_PORT}:${JVB_TCP_PORT}'
volumes: volumes:
- ${CONFIG}/jvb:/config - ${CONFIG}/jvb:/config:Z
environment: environment:
- DOCKER_HOST_ADDRESS - DOCKER_HOST_ADDRESS
- XMPP_AUTH_DOMAIN - XMPP_AUTH_DOMAIN

Loading…
Cancel
Save