Added default vars, only provide Let's Encrypt config if enabled
This commit is contained in:
		
							parent
							
								
									9812972f4c
								
							
						
					
					
						commit
						93bc4bbd0f
					
				
					 2 changed files with 12 additions and 3 deletions
				
			
		|  | @ -1,2 +1,9 @@ | ||||||
| --- | --- | ||||||
| # defaults file for jitsi | # defaults file for jitsi | ||||||
|  | #jitsi_letsencrypt_email:alice@host.tld | ||||||
|  | jitsi_enable_letsencrypt: False | ||||||
|  | jitsi_exposed_http_port: 8000 | ||||||
|  | jitsi_exposed_https_port: 8443 | ||||||
|  | jitsi_public_url: http://localhost | ||||||
|  | jitsi_timezone: Europe/Amsterdam | ||||||
|  | jitsi_virtual_host: localhost | ||||||
|  | @ -22,19 +22,21 @@ VIRTUAL_HOST={{ jitsi_virtual_host }} | ||||||
| # in the README. | # in the README. | ||||||
| DOCKER_HOST_ADDRESS={{ jitsi_docker_host_address }} | DOCKER_HOST_ADDRESS={{ jitsi_docker_host_address }} | ||||||
| 
 | 
 | ||||||
|  | {% if jitsi_enable_letsencrypt %} | ||||||
| # | # | ||||||
| # Let's Encrypt configuration | # Let's Encrypt configuration | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
| # Enable Let's Encrypt certificate generation. | # Enable Let's Encrypt certificate generation. | ||||||
| ENABLE_LETSENCRYPT={{ 1 if jitsi_enable_letsencrypt == True else 0 }} | ENABLE_LETSENCRYPT=0 | ||||||
| 
 | 
 | ||||||
| # Domain for which to generate the certificate. | # Domain for which to generate the certificate. | ||||||
| #LETSENCRYPT_DOMAIN=meet.example.com | LETSENCRYPT_DOMAIN={{ jitsi_virtual_host }} | ||||||
| 
 | 
 | ||||||
| # E-Mail for receiving important account notifications (mandatory). | # E-Mail for receiving important account notifications (mandatory). | ||||||
| #LETSENCRYPT_EMAIL=alice@atlanta.net | LETSENCRYPT_EMAIL={{ jitsi_letsencrypt_email }} | ||||||
| 
 | 
 | ||||||
|  | {% endif -%} | ||||||
| 
 | 
 | ||||||
| # | # | ||||||
| # Etherpad integration (for document sharing) | # Etherpad integration (for document sharing) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue