compose: add ability to override image versions
Useful for local development, overriding to latest is possible now without changing the compose file itself.
This commit is contained in:
@@ -3,8 +3,8 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
# Frontend
|
# Frontend
|
||||||
web:
|
web:
|
||||||
image: jitsi/web:unstable
|
image: jitsi/web:${JITSI_IMAGE_VERSION:-unstable}
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
ports:
|
ports:
|
||||||
- '${HTTP_PORT}:80'
|
- '${HTTP_PORT}:80'
|
||||||
- '${HTTPS_PORT}:443'
|
- '${HTTPS_PORT}:443'
|
||||||
@@ -140,8 +140,8 @@ services:
|
|||||||
|
|
||||||
# XMPP server
|
# XMPP server
|
||||||
prosody:
|
prosody:
|
||||||
image: jitsi/prosody:unstable
|
image: jitsi/prosody:${JITSI_IMAGE_VERSION:-unstable}
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
expose:
|
expose:
|
||||||
- '${XMPP_PORT:-5222}'
|
- '${XMPP_PORT:-5222}'
|
||||||
- '5347'
|
- '5347'
|
||||||
@@ -225,8 +225,8 @@ services:
|
|||||||
|
|
||||||
# Focus component
|
# Focus component
|
||||||
jicofo:
|
jicofo:
|
||||||
image: jitsi/jicofo:unstable
|
image: jitsi/jicofo:${JITSI_IMAGE_VERSION:-unstable}
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG}/jicofo:/config:Z
|
- ${CONFIG}/jicofo:/config:Z
|
||||||
environment:
|
environment:
|
||||||
@@ -275,8 +275,8 @@ services:
|
|||||||
|
|
||||||
# Video bridge
|
# Video bridge
|
||||||
jvb:
|
jvb:
|
||||||
image: jitsi/jvb:unstable
|
image: jitsi/jvb:${JITSI_IMAGE_VERSION:-unstable}
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
ports:
|
ports:
|
||||||
- '${JVB_PORT:-10000}:${JVB_PORT:-10000}/udp'
|
- '${JVB_PORT:-10000}:${JVB_PORT:-10000}/udp'
|
||||||
- '127.0.0.1:${JVB_COLIBRI_PORT:-8080}:8080'
|
- '127.0.0.1:${JVB_COLIBRI_PORT:-8080}:8080'
|
||||||
|
|||||||
12
env.example
12
env.example
@@ -177,9 +177,6 @@ ETHERPAD_SKIN_VARIANTS="super-light-toolbar super-light-editor light-background
|
|||||||
# Wether to use starttls, implies LDAPv3 and requires ldap:// instead of ldaps://
|
# Wether to use starttls, implies LDAPv3 and requires ldap:// instead of ldaps://
|
||||||
# LDAP_START_TLS=1
|
# LDAP_START_TLS=1
|
||||||
|
|
||||||
# Container restart policy
|
|
||||||
RESTART_POLICY=unless-stopped
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Security
|
# Security
|
||||||
@@ -206,3 +203,12 @@ JIBRI_RECORDER_PASSWORD=
|
|||||||
# XMPP password for Jibri client connections
|
# XMPP password for Jibri client connections
|
||||||
JIBRI_XMPP_PASSWORD=
|
JIBRI_XMPP_PASSWORD=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Docker Compose options
|
||||||
|
#
|
||||||
|
|
||||||
|
# Container restart policy
|
||||||
|
#RESTART_POLICY=unless-stopped
|
||||||
|
|
||||||
|
# Jitsi image version (useful for local development)
|
||||||
|
#JITSI_IMAGE_VERSION=latest
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ services:
|
|||||||
# Etherpad: real-time collaborative document editing
|
# Etherpad: real-time collaborative document editing
|
||||||
etherpad:
|
etherpad:
|
||||||
image: etherpad/etherpad:1.8.6
|
image: etherpad/etherpad:1.8.6
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
environment:
|
environment:
|
||||||
- TITLE=${ETHERPAD_TITLE}
|
- TITLE=${ETHERPAD_TITLE}
|
||||||
- DEFAULT_PAD_TEXT=${ETHERPAD_DEFAULT_PAD_TEXT}
|
- DEFAULT_PAD_TEXT=${ETHERPAD_DEFAULT_PAD_TEXT}
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
jibri:
|
jibri:
|
||||||
image: jitsi/jibri:unstable
|
image: jitsi/jibri:${JITSI_IMAGE_VERSION:-unstable}
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG}/jibri:/config:Z
|
- ${CONFIG}/jibri:/config:Z
|
||||||
- /dev/shm:/dev/shm
|
- /dev/shm:/dev/shm
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
# SIP gateway (audio)
|
# SIP gateway (audio)
|
||||||
jigasi:
|
jigasi:
|
||||||
image: jitsi/jigasi:unstable
|
image: jitsi/jigasi:${JITSI_IMAGE_VERSION:-unstable}
|
||||||
restart: ${RESTART_POLICY}
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
ports:
|
ports:
|
||||||
- '${JIGASI_PORT_MIN:-20000}-${JIGASI_PORT_MAX:-20050}:${JIGASI_PORT_MIN:-20000}-${JIGASI_PORT_MAX:-20050}/udp'
|
- '${JIGASI_PORT_MIN:-20000}-${JIGASI_PORT_MAX:-20050}:${JIGASI_PORT_MIN:-20000}-${JIGASI_PORT_MAX:-20050}/udp'
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user