penpot: Migrate Env vars to new flag system
This commit is contained in:
parent
2ff6f3573c
commit
0ffd62de9e
1 changed files with 2 additions and 7 deletions
|
@ -32,10 +32,7 @@ services:
|
|||
{% if penpot_gitlab is defined %}
|
||||
- PENPOT_GITLAB_CLIENT_ID={{ penpot_gitlab.client_id }}
|
||||
{% endif %}
|
||||
- PENPOT_ALLOW_DEMO_USERS=false
|
||||
- PENPOT_DEMO_WARNING=false
|
||||
- PENPOT_LOGIN_WITH_LDAP=false
|
||||
- PENPOT_REGISTRATION_ENABLED={{ penpot_registration_enabled | lower }}
|
||||
- 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(`/`)"
|
||||
|
@ -75,9 +72,7 @@ services:
|
|||
# Should be set to the public domain when penpot is going to be
|
||||
# served.
|
||||
- PENPOT_PUBLIC_URI=https://{{ penpot_domain }}
|
||||
|
||||
# User registration
|
||||
- PENPOT_REGISTRATION_ENABLED={{ penpot_registration_enabled | lower }}
|
||||
- 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=""
|
||||
|
|
Loading…
Add table
Reference in a new issue