Jitsi containers should be restarted unless stopped

This commit is contained in:
Jan Beilicke 2020-04-01 12:59:48 +02:00
parent df137fb906
commit 44e1c6e2c5

View file

@ -4,6 +4,7 @@ services:
# Frontend # Frontend
web: web:
image: jitsi/web image: jitsi/web
restart: unless-stopped
ports: ports:
- '${HTTP_PORT}:80' - '${HTTP_PORT}:80'
- '${HTTPS_PORT}:443' - '${HTTPS_PORT}:443'
@ -53,6 +54,7 @@ services:
# XMPP server # XMPP server
prosody: prosody:
image: jitsi/prosody image: jitsi/prosody
restart: unless-stopped
expose: expose:
- '5222' - '5222'
- '5347' - '5347'
@ -116,6 +118,7 @@ services:
# Focus component # Focus component
jicofo: jicofo:
image: jitsi/jicofo image: jitsi/jicofo
restart: unless-stopped
volumes: volumes:
- ${CONFIG}/jicofo:/config - ${CONFIG}/jicofo:/config
environment: environment:
@ -141,6 +144,7 @@ services:
# Video bridge # Video bridge
jvb: jvb:
image: jitsi/jvb image: jitsi/jvb
restart: unless-stopped
ports: ports:
- '${JVB_PORT}:${JVB_PORT}/udp' - '${JVB_PORT}:${JVB_PORT}/udp'
- '${JVB_TCP_PORT}:${JVB_TCP_PORT}' - '${JVB_TCP_PORT}:${JVB_TCP_PORT}'