Introduced image tag variable.

This commit is contained in:
Joschka Seydell 2020-12-09 12:23:54 -08:00
parent 87d2cd58ec
commit 5b052e01e8
6 changed files with 11 additions and 9 deletions

View file

@ -19,6 +19,7 @@ Role Variables
| jitsi_install_user | The user who is going to manage/run the Docker Compose services | {{ ansible_user }} |
| jitsi_install_path | The location where the service should be deployed | /home/{{ jitsi_install_user }} |
| jitsi_multitenant_label | A label (unique accross all instances on this host) identifying the tenant | |
| jitsi_docker_image_tag | Tag that should be used for the jitsi-docker images. If `jitsi_docker_upstream_repo_url` is set, this shall be left at `latest`. | latest |
| jitsi_build_latest_image_from_source | Will fetch the master of `jitsi_docker_upstream_repo_url` and build the docker image as sometimes the latest available images in the Docker Hub are too old | yes |
| jitsi_docker_upstream_repo_url | Git repo of docker-jitsi-meet required by `jitsi_build_latest_image_from_source` | https://github.com/jitsi/docker-jitsi-meet.git |
| *jitsi_letsencrypt_email* | E-Mail adress used for requesting certificates | Not set |

View file

@ -3,6 +3,9 @@
jitsi_install_user: '{{ ansible_user }}' # This user must be present on the host
jitsi_install_path: '/home/{{ jitsi_install_user }}'
jitsi_multitenant_label:
jitsi_docker_image_tag: 'latest'
jitsi_build_latest_image_from_source: yes
jitsi_docker_upstream_repo_url: https://github.com/jitsi/docker-jitsi-meet.git
#jitsi_letsencrypt_email:alice@host.tld
jitsi_enable_letsencrypt: no
jitsi_exposed_http_port: 8000
@ -14,8 +17,6 @@ jitsi_public_url: http://{{ jitsi_virtual_host }}
jitsi_timezone: Europe/Amsterdam
jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443
jitsi_web_channel_last_n: 3
jitsi_build_latest_image_from_source: yes
jitsi_docker_upstream_repo_url: https://github.com/jitsi/docker-jitsi-meet.git
jitsi_enable_third_party_requests: no
# Internal variables
jitsi_multitenant_postfix: "{{ '_' + jitsi_multitenant_label if (jitsi_multitenant_label) else '' }}"

View file

@ -3,7 +3,7 @@ version: '3'
services:
# Frontend
web:
image: jitsi/web
image: jitsi/web:{{ jitsi_docker_image_tag }}
restart: unless-stopped
volumes:
- ${CONFIG}/web:/config
@ -60,7 +60,7 @@ services:
# XMPP server
prosody:
image: jitsi/prosody
image: jitsi/prosody:{{ jitsi_docker_image_tag }}
restart: unless-stopped
expose:
- '5222'
@ -124,7 +124,7 @@ services:
# Focus component
jicofo:
image: jitsi/jicofo
image: jitsi/jicofo:{{ jitsi_docker_image_tag }}
restart: unless-stopped
volumes:
- ${CONFIG}/jicofo:/config
@ -150,7 +150,7 @@ services:
# Video bridge
jvb:
image: jitsi/jvb
image: jitsi/jvb:{{ jitsi_docker_image_tag }}
restart: unless-stopped
ports:
- '${JVB_PORT}:${JVB_PORT}/udp'

View file

@ -3,7 +3,7 @@ version: '3'
services:
# Etherpad: real-time collaborative document editing
etherpad:
image: jitsi/etherpad
image: jitsi/etherpad:{{ jitsi_docker_image_tag }}
restart: unless-stopped
networks:
meet.jitsi:

View file

@ -2,7 +2,7 @@ version: '3'
services:
jibri:
image: jitsi/jibri
image: jitsi/jibri:{{ jitsi_docker_image_tag }}
restart: unless-stopped
volumes:
- ${CONFIG}/jibri:/config

View file

@ -3,7 +3,7 @@ version: '3'
services:
# SIP gateway (audio)
jigasi:
image: jitsi/jigasi
image: jitsi/jigasi:{{ jitsi_docker_image_tag }}
restart: unless-stopped
ports:
- '${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}:${JIGASI_PORT_MIN}-${JIGASI_PORT_MAX}/udp'