misc: add configurable service restart policy
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
||||
# Frontend
|
||||
web:
|
||||
image: jitsi/web
|
||||
restart: ${RESTART_POLICY}
|
||||
ports:
|
||||
- '${HTTP_PORT}:80'
|
||||
- '${HTTPS_PORT}:443'
|
||||
@@ -45,6 +46,7 @@ services:
|
||||
# XMPP server
|
||||
prosody:
|
||||
image: jitsi/prosody
|
||||
restart: ${RESTART_POLICY}
|
||||
expose:
|
||||
- '5222'
|
||||
- '5347'
|
||||
@@ -108,6 +110,7 @@ services:
|
||||
# Focus component
|
||||
jicofo:
|
||||
image: jitsi/jicofo
|
||||
restart: ${RESTART_POLICY}
|
||||
volumes:
|
||||
- ${CONFIG}/jicofo:/config
|
||||
environment:
|
||||
@@ -134,6 +137,7 @@ services:
|
||||
# Video bridge
|
||||
jvb:
|
||||
image: jitsi/jvb
|
||||
restart: ${RESTART_POLICY}
|
||||
ports:
|
||||
- '${JVB_PORT}:${JVB_PORT}/udp'
|
||||
- '${JVB_TCP_PORT}:${JVB_TCP_PORT}'
|
||||
|
||||
Reference in New Issue
Block a user