17 lines
627 B
Django/Jinja
17 lines
627 B
Django/Jinja
{% if compose.mode == "dev" %}
|
|
SERVER_FQDN_SCHEME=http
|
|
SERVER_FQDN={{ (certbot.domains | map("regex_replace", "\\.([^\\.]*)$", ".test") | reject("regex", "^\\*\\.") | list)[0] }}
|
|
{% elif compose.mode == "prod" %}
|
|
SERVER_FQDN_SCHEME=https
|
|
SERVER_FQDN={{ (certbot.domains | reject("regex", "^\\*\\.") | list)[0] }}
|
|
{% endif %}
|
|
|
|
{% if nextcloud.subdomain is defined and nextcloud != None %}
|
|
NEXTCLOUD_SUBDOMAIN={{ nextcloud.subdomain }}
|
|
{% endif %}
|
|
{% if gitea is defined and gitea != None %}
|
|
GITEA_SUBDOMAIN={{ gitea.subdomain }}
|
|
{% endif %}
|
|
{% if gist is defined and gist != None %}
|
|
OG_SUBDOMAIN={{ gist.subdomain }}
|
|
{% endif %} |