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:
Saúl Ibarra Corretgé
2022-06-10 13:14:46 +02:00
parent 7c29b57914
commit 1463df4c09
5 changed files with 22 additions and 16 deletions

View File

@@ -3,8 +3,8 @@ version: '3'
services:
# SIP gateway (audio)
jigasi:
image: jitsi/jigasi:unstable
restart: ${RESTART_POLICY}
image: jitsi/jigasi:${JITSI_IMAGE_VERSION:-unstable}
restart: ${RESTART_POLICY:-unless-stopped}
ports:
- '${JIGASI_PORT_MIN:-20000}-${JIGASI_PORT_MAX:-20050}:${JIGASI_PORT_MIN:-20000}-${JIGASI_PORT_MAX:-20050}/udp'
volumes: