misc: add configurable service restart policy

pull/438/head
Rui Carmo 5 years ago committed by GitHub
parent 729f9d290e
commit 4e2cec6b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 4
      docker-compose.yml
  3. 4
      env.example
  4. 1
      etherpad.yml
  5. 1
      jibri.yml
  6. 1
      jigasi.yml

@ -407,6 +407,7 @@ Variable | Description | Default value
`XMPP_INTERNAL_MUC_MODULES` | Custom Prosody modules for internal MUC component (comma separated) | info,alert
`GLOBAL_MODULES` | Custom prosody modules to load in global configuration (comma separated) | statistics,alert
`GLOBAL_CONFIG` | Custom configuration string with escaped newlines | foo = bar;\nkey = val;
`RESTART_POLICY` | Container restart policy | defaults to `unless-stopped`
`JICOFO_COMPONENT_SECRET` | XMPP component password for Jicofo | s3cr37
`JICOFO_AUTH_USER` | XMPP user for Jicofo client connections | focus
`JICOFO_AUTH_PASSWORD` | XMPP password for Jicofo client connections | passw0rd

@ -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}'

@ -317,3 +317,7 @@ JIBRI_LOGS_DIR=/config/logs
# Redirect HTTP traffic to HTTPS
# Necessary for Let's Encrypt, relies on standard HTTPS port (443)
#ENABLE_HTTP_REDIRECT=1
# Container restart policy
# Defaults to unless-stopped
RESTART_POLICY=unless-stopped

@ -4,6 +4,7 @@ services:
# Etherpad: real-time collaborative document editing
etherpad:
image: jitsi/etherpad
restart: ${RESTART_POLICY}
networks:
meet.jitsi:
aliases:

@ -3,6 +3,7 @@ version: '3'
services:
jibri:
image: jitsi/jibri
restart: ${RESTART_POLICY}
volumes:
- ${CONFIG}/jibri:/config
- /dev/shm:/dev/shm

@ -4,6 +4,7 @@ services:
# SIP gateway (audio)
jigasi:
image: jitsi/jigasi
restart: ${RESTART_POLICY}
ports:
- '${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}:${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}/udp'
volumes:

Loading…
Cancel
Save