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
				
			
		
							
								
								
									
										50
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										50
									
								
								README.md
									
										
									
									
									
								
							|  | @ -14,30 +14,32 @@ Requirements | ||||||
| Role Variables | Role Variables | ||||||
| -------------- | -------------- | ||||||
| 
 | 
 | ||||||
| | Variable                      | Description                                                                     | Default                             | | | Variable                             | Description                                                                                                                                                 | Default                                        | | ||||||
| | ---------------------------   | ------------------------------------------------------------------------------- | ------------------                  | | | ---------------------------          | -------------------------------------------------------------------------------                                                                             | ------------------                             | | ||||||
| | docker_user                   | The user who is going to manage/run the Docker Compose services                 | deploy                              | | | docker_user                          | The user who is going to manage/run the Docker Compose services                                                                                             | deploy                                         | | ||||||
| | *jitsi_letsencrypt_email*     | E-Mail adress used for requesting certificates                                  | Not set                             | | | 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_host_address     |                                                                                 |                                     | | | 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_enable_letsencrypt      | Jitsi will take care of Let's Encrypt certificates                              | 0                                   | | | *jitsi_letsencrypt_email*            | E-Mail adress used for requesting certificates                                                                                                              | Not set                                        | | ||||||
| | jitsi_exposed_http_port       | Exposed container port for HTTP                                                 | 8000                                | | | jitsi_docker_host_address            |                                                                                                                                                             |                                                | | ||||||
| | jitsi_exposed_https_port      | Exposed container port for HTTPS                                                | 8443                                | | | jitsi_enable_letsencrypt             | Jitsi will take care of Let's Encrypt certificates                                                                                                          | 0                                              | | ||||||
| | jitsi_jibri_recorder_password | Provide a secure password\*                                                     |                                     | | | jitsi_exposed_http_port              | Exposed container port for HTTP                                                                                                                             | 8000                                           | | ||||||
| | jitsi_jibri_recorder_user     |                                                                                 |                                     | | | jitsi_exposed_https_port             | Exposed container port for HTTPS                                                                                                                            | 8443                                           | | ||||||
| | jitsi_jibri_xmpp_password     |                                                                                 |                                     | | | jitsi_jibri_recorder_password        | Provide a secure password\*                                                                                                                                 |                                                | | ||||||
| | jitsi_jibri_xmpp_user         |                                                                                 |                                     | | | jitsi_jibri_recorder_user            |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jicofo_auth_password    |                                                                                 |                                     | | | jitsi_jibri_xmpp_password            |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jicofo_auth_user        |                                                                                 |                                     | | | jitsi_jibri_xmpp_user                |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jicofo_component_secret |                                                                                 |                                     | | | jitsi_jicofo_auth_password           |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jigasi_xmpp_password    |                                                                                 |                                     | | | jitsi_jicofo_auth_user               |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jigasi_xmpp_user        |                                                                                 |                                     | | | jitsi_jicofo_component_secret        |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jvb_auth_password       |                                                                                 |                                     | | | jitsi_jigasi_xmpp_password           |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jvb_auth_user           |                                                                                 |                                     | | | jitsi_jigasi_xmpp_user               |                                                                                                                                                             |                                                | | ||||||
| | jitsi_jvb_stun_servers        |                                                                                 | meet-jit-si-turnrelay.jitsi.net:443 | | | jitsi_jvb_auth_password              |                                                                                                                                                             |                                                | | ||||||
| | jitsi_web_channel_last_n      | Performance: Limit video streams to the last N speakers (-1 = unlimited)        | 3                                   | | | jitsi_jvb_auth_user                  |                                                                                                                                                             |                                                | | ||||||
| | jitsi_public_url              | The public URL under which Jitsi Meet can be accessed                           | http://localhost                    | | | jitsi_jvb_stun_servers               |                                                                                                                                                             | meet-jit-si-turnrelay.jitsi.net:443            | | ||||||
| | jitsi_timezone                |                                                                                 | Europe/Amsterdam                    | | | jitsi_web_channel_last_n             | Performance: Limit video streams to the last N speakers (-1 = unlimited)                                                                                    | 3                                              | | ||||||
| | jitsi_virtual_host            | The virtual host that is e.g. used by Traefik, usually part of the public url   | localhost                           | | | jitsi_public_url                     | The public URL under which Jitsi Meet can be accessed                                                                                                       | http://localhost                               | | ||||||
|  | | jitsi_timezone                       |                                                                                                                                                             | Europe/Amsterdam                               | | ||||||
|  | | jitsi_virtual_host                   | The virtual host that is e.g. used by Traefik, usually part of the public url                                                                               | localhost                                      | | ||||||
| 
 | 
 | ||||||
| \* It is important to provide a dedicated secure password for each service. Generate passwords with e.g. `openssl rand -hex 16` | \* It is important to provide a dedicated secure password for each service. Generate passwords with e.g. `openssl rand -hex 16` | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -10,3 +10,5 @@ jitsi_public_url: http://{{ jitsi_virtual_host }} | ||||||
| jitsi_timezone: Europe/Amsterdam | jitsi_timezone: Europe/Amsterdam | ||||||
| jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443 | jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443 | ||||||
| jitsi_web_channel_last_n: 3 | 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 }}' |     group: '{{ docker_user }}' | ||||||
|   tags: config |   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 | - name: Provide docker-compose.yml | ||||||
|   template: |   template: | ||||||
|     src: templates/docker-compose.jitsi.yml.j2 |     src: templates/docker-compose.jitsi.yml.j2 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue