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

@@ -2,8 +2,8 @@ version: '3'
services:
jibri:
image: jitsi/jibri:unstable
restart: ${RESTART_POLICY}
image: jitsi/jibri:${JITSI_IMAGE_VERSION:-unstable}
restart: ${RESTART_POLICY:-unless-stopped}
volumes:
- ${CONFIG}/jibri:/config:Z
- /dev/shm:/dev/shm