Skip to content

Commit 0177765

Browse files
authored
misc: fix config volumes to work with SELinux
Fixes: jitsi#472
1 parent eae3f5c commit 0177765

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docker-compose.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ services:
99
- '${HTTP_PORT}:80'
1010
- '${HTTPS_PORT}:443'
1111
volumes:
12-
- ${CONFIG}/web:/config
13-
- ${CONFIG}/web/letsencrypt:/etc/letsencrypt
14-
- ${CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts
12+
- ${CONFIG}/web:/config:Z
13+
- ${CONFIG}/web/letsencrypt:/etc/letsencrypt:Z
14+
- ${CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts:Z
1515
environment:
1616
- ENABLE_AUTH
1717
- ENABLE_GUESTS
@@ -52,8 +52,8 @@ services:
5252
- '5347'
5353
- '5280'
5454
volumes:
55-
- ${CONFIG}/prosody/config:/config
56-
- ${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom
55+
- ${CONFIG}/prosody/config:/config:Z
56+
- ${CONFIG}/prosody/prosody-plugins-custom:/prosody-plugins-custom:Z
5757
environment:
5858
- AUTH_TYPE
5959
- ENABLE_AUTH
@@ -113,7 +113,7 @@ services:
113113
image: jitsi/jicofo
114114
restart: ${RESTART_POLICY}
115115
volumes:
116-
- ${CONFIG}/jicofo:/config
116+
- ${CONFIG}/jicofo:/config:Z
117117
environment:
118118
- ENABLE_AUTH
119119
- XMPP_DOMAIN
@@ -143,7 +143,7 @@ services:
143143
- '${JVB_PORT}:${JVB_PORT}/udp'
144144
- '${JVB_TCP_MAPPED_PORT}:${JVB_TCP_PORT}'
145145
volumes:
146-
- ${CONFIG}/jvb:/config
146+
- ${CONFIG}/jvb:/config:Z
147147
environment:
148148
- DOCKER_HOST_ADDRESS
149149
- XMPP_AUTH_DOMAIN

jibri.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
image: jitsi/jibri
66
restart: ${RESTART_POLICY}
77
volumes:
8-
- ${CONFIG}/jibri:/config
8+
- ${CONFIG}/jibri:/config:Z
99
- /dev/shm:/dev/shm
1010
cap_add:
1111
- SYS_ADMIN

jigasi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ services:
88
ports:
99
- '${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}:${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}/udp'
1010
volumes:
11-
- ${CONFIG}/jigasi:/config
12-
- ${CONFIG}/transcripts:/tmp/transcripts
11+
- ${CONFIG}/jigasi:/config:Z
12+
- ${CONFIG}/transcripts:/tmp/transcripts:Z
1313
environment:
1414
- ENABLE_AUTH
1515
- XMPP_AUTH_DOMAIN

0 commit comments

Comments
 (0)