penpot: Enable SMTP flag if smtp config enabled
This commit is contained in:
parent
e3c20f2f3b
commit
93f41c3125
1 changed files with 1 additions and 2 deletions
|
@ -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 {% if penpot_smtp is defined and penpot_smtp.enabled %}enable{% else %}disable{% endif %}-smtp
|
||||
|
||||
# comma-separated domains, defaults to `""` which means that all domains are allowed)
|
||||
- PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
||||
|
@ -112,7 +112,6 @@ services:
|
|||
# console, but for production usage is recommeded to setup a
|
||||
# real SMTP provider. Emails are used for confirm user
|
||||
# registration.
|
||||
- PENPOT_SMTP_ENABLED={{ penpot_smtp.enabled | lower }}
|
||||
- PENPOT_SMTP_DEFAULT_FROM={{ penpot_smtp.from }}
|
||||
- PENPOT_SMTP_DEFAULT_REPLY_TO={{ penpot_smtp.reply_to }}
|
||||
- PENPOT_SMTP_HOST={{ penpot_smtp.host }}
|
||||
|
|
Loading…
Add table
Reference in a new issue