Fix wallabag root url setting for aliases

This commit is contained in:
Marty Oehme 2021-12-10 16:32:20 +01:00
parent 86346c04dd
commit 12a3fa1e6f
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -16,7 +16,7 @@ services:
environment: environment:
- SYMFONY__ENV__FOSUSER_REGISTRATION=false - SYMFONY__ENV__FOSUSER_REGISTRATION=false
{% if server_domain is not undefined and not none %} {% if server_domain is not undefined and not none %}
- SYMFONY__ENV__DOMAIN_NAME={{ (wallabag_use_https == True) | ternary('https', 'http') }}://wallabag.{{ server_domain }} - "SYMFONY__ENV__DOMAIN_NAME={{ (wallabag_use_https == True) | ternary('https', 'http') }}://{{ (subdomain_alias is not undefined and not none) | ternary(subdomain_alias, stack_name) }}.{{server_domain}}"
{% else %} {% else %}
- SYMFONY__ENV__DOMAIN_NAME={{ (wallabag_use_https == True) | ternary('https', 'http') }}://localhost - SYMFONY__ENV__DOMAIN_NAME={{ (wallabag_use_https == True) | ternary('https', 'http') }}://localhost
{% endif %} {% endif %}