penpot: Fix flag env var quotation

This commit is contained in:
saibotk 2021-12-28 12:46:27 +01:00
parent 0ffd62de9e
commit e3c20f2f3b
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -32,7 +32,7 @@ services:
{% if penpot_gitlab is defined %}
- PENPOT_GITLAB_CLIENT_ID={{ penpot_gitlab.client_id }}
{% endif %}
- PENPOT_FLAGS="{% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration disable-demo-users disable-demo-warning disable-login-with-ldap"
- PENPOT_FLAGS={% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration disable-demo-users disable-demo-warning disable-login-with-ldap
labels:
- "traefik.enable=true"
- "traefik.http.routers.penpot.rule=Host(`{{ penpot_domain }}`) && PathPrefix(`/`)"
@ -72,7 +72,7 @@ services:
# Should be set to the public domain when penpot is going to be
# served.
- PENPOT_PUBLIC_URI=https://{{ penpot_domain }}
- PENPOT_FLAGS="{% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration disable-demo-users disable-login-with-ldap disable-smtp"
- PENPOT_FLAGS={% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration disable-demo-users disable-login-with-ldap disable-smtp
# comma-separated domains, defaults to `""` which means that all domains are allowed)
- PENPOT_REGISTRATION_DOMAIN_WHITELIST=""