Adds automatic building of the latest Docker images based on the default upstream repo https://github.com/jitsi/docker-jitsi-meet/
This commit is contained in:
parent
d13cff64cc
commit
a75f75e8be
3 changed files with 43 additions and 25 deletions
|
@ -17,6 +17,8 @@ Role Variables
|
|||
| Variable | Description | Default |
|
||||
| --------------------------- | ------------------------------------------------------------------------------- | ------------------ |
|
||||
| docker_user | The user who is going to manage/run the Docker Compose services | deploy |
|
||||
| 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 |
|
||||
| jitsi_docker_host_address | | |
|
||||
| jitsi_enable_letsencrypt | Jitsi will take care of Let's Encrypt certificates | 0 |
|
||||
|
|
|
@ -10,3 +10,5 @@ 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
|
|
@ -22,6 +22,20 @@
|
|||
group: '{{ docker_user }}'
|
||||
tags: config
|
||||
|
||||
- name: "Git: Pull latest upstream docker-jitsi-meet sources (master)"
|
||||
git:
|
||||
repo: "{{ jitsi_docker_upstream_repo_url }}"
|
||||
dest: /home/{{ docker_user }}/jitsi/docker-jitsi-meet-src
|
||||
version: master
|
||||
register: git_pull_jitsi_docker_upstream_repo
|
||||
when: jitsi_build_latest_image_from_source == True
|
||||
|
||||
- name: "Build Jitsi Docker images"
|
||||
shell:
|
||||
chdir: /home/{{ docker_user }}/jitsi/docker-jitsi-meet-src
|
||||
cmd: make
|
||||
when: git_pull_jitsi_docker_upstream_repo.changed
|
||||
|
||||
- name: Provide docker-compose.yml
|
||||
template:
|
||||
src: templates/docker-compose.jitsi.yml.j2
|
||||
|
|
Loading…
Add table
Reference in a new issue