23 lines
839 B
Bash
23 lines
839 B
Bash
{% 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 forgejo is defined and forgejo != None %}
|
|
FORGEJO_SUBDOMAIN={{ forgejo.subdomain }}
|
|
{% endif %}
|
|
{% if gist is defined and gist != None %}
|
|
OG_SUBDOMAIN={{ gist.subdomain }}
|
|
{% endif %}
|
|
{% if syncplay is defined and syncplay != None %}
|
|
SYNCPLAY_SUBDOMAIN={{ syncplay.subdomain }}
|
|
{% endif %}
|
|
{% if nodebb is defined and nodebb != None %}
|
|
NODEBB_SUBDOMAIN={{ nodebb.subdomain }}
|
|
{% endif %} |