File tree 6 files changed +12
-0
lines changed 6 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -407,6 +407,7 @@ Variable | Description | Default value
407
407
` XMPP_INTERNAL_MUC_MODULES ` | Custom Prosody modules for internal MUC component (comma separated) | info,alert
408
408
` GLOBAL_MODULES ` | Custom prosody modules to load in global configuration (comma separated) | statistics,alert
409
409
` GLOBAL_CONFIG ` | Custom configuration string with escaped newlines | foo = bar;\nkey = val;
410
+ ` RESTART_POLICY ` | Container restart policy | defaults to ` unless-stopped `
410
411
` JICOFO_COMPONENT_SECRET ` | XMPP component password for Jicofo | s3cr37
411
412
` JICOFO_AUTH_USER ` | XMPP user for Jicofo client connections | focus
412
413
` JICOFO_AUTH_PASSWORD ` | XMPP password for Jicofo client connections | passw0rd
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ services:
4
4
# Frontend
5
5
web :
6
6
image : jitsi/web
7
+ restart : ${RESTART_POLICY}
7
8
ports :
8
9
- ' ${HTTP_PORT}:80'
9
10
- ' ${HTTPS_PORT}:443'
@@ -45,6 +46,7 @@ services:
45
46
# XMPP server
46
47
prosody :
47
48
image : jitsi/prosody
49
+ restart : ${RESTART_POLICY}
48
50
expose :
49
51
- ' 5222'
50
52
- ' 5347'
@@ -108,6 +110,7 @@ services:
108
110
# Focus component
109
111
jicofo :
110
112
image : jitsi/jicofo
113
+ restart : ${RESTART_POLICY}
111
114
volumes :
112
115
- ${CONFIG}/jicofo:/config
113
116
environment :
@@ -134,6 +137,7 @@ services:
134
137
# Video bridge
135
138
jvb :
136
139
image : jitsi/jvb
140
+ restart : ${RESTART_POLICY}
137
141
ports :
138
142
- ' ${JVB_PORT}:${JVB_PORT}/udp'
139
143
- ' ${JVB_TCP_PORT}:${JVB_TCP_PORT}'
Original file line number Diff line number Diff line change @@ -317,3 +317,7 @@ JIBRI_LOGS_DIR=/config/logs
317
317
# Redirect HTTP traffic to HTTPS
318
318
# Necessary for Let's Encrypt, relies on standard HTTPS port (443)
319
319
#ENABLE_HTTP_REDIRECT=1
320
+
321
+ # Container restart policy
322
+ # Defaults to unless-stopped
323
+ RESTART_POLICY=unless-stopped
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ services:
4
4
# Etherpad: real-time collaborative document editing
5
5
etherpad :
6
6
image : jitsi/etherpad
7
+ restart : ${RESTART_POLICY}
7
8
networks :
8
9
meet.jitsi :
9
10
aliases :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ version: '3'
3
3
services :
4
4
jibri :
5
5
image : jitsi/jibri
6
+ restart : ${RESTART_POLICY}
6
7
volumes :
7
8
- ${CONFIG}/jibri:/config
8
9
- /dev/shm:/dev/shm
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ services:
4
4
# SIP gateway (audio)
5
5
jigasi :
6
6
image : jitsi/jigasi
7
+ restart : ${RESTART_POLICY}
7
8
ports :
8
9
- ' ${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}:${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}/udp'
9
10
volumes :
You can’t perform that action at this time.
0 commit comments