misc: fix config volumes to work with SELinux

Fixes: #472
pull/533/head
Johannes Nohl 5 years ago committed by GitHub
parent eae3f5ce2d
commit 0177765f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      docker-compose.yml
  2. 2
      jibri.yml
  3. 4
      jigasi.yml

@ -9,9 +9,9 @@ services:
- '${HTTP_PORT}:80' - '${HTTP_PORT}:80'
- '${HTTPS_PORT}:443' - '${HTTPS_PORT}:443'
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,8 +52,8 @@ services:
- '5347' - '5347'
- '5280' - '5280'
volumes: volumes:
- ${CONFIG}/prosody/config:/config - ${CONFIG}/prosody/config:/config:Z
- ${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom - ${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z
environment: environment:
- AUTH_TYPE - AUTH_TYPE
- ENABLE_AUTH - ENABLE_AUTH
@ -113,7 +113,7 @@ services:
image: jitsi/jicofo image: jitsi/jicofo
restart: ${RESTART_POLICY} restart: ${RESTART_POLICY}
volumes: volumes:
- ${CONFIG}/jicofo:/config - ${CONFIG}/jicofo:/config:Z
environment: environment:
- ENABLE_AUTH - ENABLE_AUTH
- XMPP_DOMAIN - XMPP_DOMAIN
@ -143,7 +143,7 @@ services:
- '${JVB_PORT}:${JVB_PORT}/udp' - '${JVB_PORT}:${JVB_PORT}/udp'
- '${JVB_TCP_MAPPED_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

@ -5,7 +5,7 @@ services:
image: jitsi/jibri image: jitsi/jibri
restart: ${RESTART_POLICY} restart: ${RESTART_POLICY}
volumes: volumes:
- ${CONFIG}/jibri:/config - ${CONFIG}/jibri:/config:Z
- /dev/shm:/dev/shm - /dev/shm:/dev/shm
cap_add: cap_add:
- SYS_ADMIN - SYS_ADMIN

@ -8,8 +8,8 @@ services:
ports: ports:
- '${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}:${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}/udp' - '${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}:${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}/udp'
volumes: volumes:
- ${CONFIG}/jigasi:/config - ${CONFIG}/jigasi:/config:Z
- ${CONFIG}/transcripts:/tmp/transcripts - ${CONFIG}/transcripts:/tmp/transcripts:Z
environment: environment:
- ENABLE_AUTH - ENABLE_AUTH
- XMPP_AUTH_DOMAIN - XMPP_AUTH_DOMAIN

Loading…
Cancel
Save