Added default vars, only provide Let's Encrypt config if enabled

This commit is contained in:
Jan Beilicke 2020-03-23 21:48:40 +01:00
parent 9812972f4c
commit 93bc4bbd0f
2 changed files with 12 additions and 3 deletions

View file

@ -1,2 +1,9 @@
---
# 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

View file

@ -22,19 +22,21 @@ VIRTUAL_HOST={{ jitsi_virtual_host }}
# in the README.
DOCKER_HOST_ADDRESS={{ jitsi_docker_host_address }}
{% if jitsi_enable_letsencrypt %}
#
# Let's Encrypt configuration
#
# 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.
#LETSENCRYPT_DOMAIN=meet.example.com
LETSENCRYPT_DOMAIN={{ jitsi_virtual_host }}
# E-Mail for receiving important account notifications (mandatory).
#LETSENCRYPT_EMAIL=alice@atlanta.net
LETSENCRYPT_EMAIL={{ jitsi_letsencrypt_email }}
{% endif -%}
#
# Etherpad integration (for document sharing)