Commit 60743795 authored by Daniel Dehennin's avatar Daniel Dehennin

fix(config): set notification mail as soon as possible

The notification email must be set as soon as possible for the first
mails created.
parent b6ccb619
......@@ -65,7 +65,7 @@ env:
## TODO: List of comma delimited emails that will be made admin and developer
## on initial signup example ','
DISCOURSE_DEVELOPER_EMAILS: {{ discourse.developer_emails }}
DISCOURSE_DEVELOPER_EMAILS: '{{ discourse.developer_emails }}'
DISCOURSE_SMTP_DOMAIN: {{ discourse.hostname }}
## TODO: The SMTP mail server used to validate new accounts and send notifications
......@@ -112,5 +112,5 @@ run:
- exec: echo "Beginning of custom commands"
## If you want to set the 'From' email address for your first registration, uncomment and change:
## After getting the first signup email, re-comment the line. It only needs to run once.
#- exec: rails r "SiteSetting.notification_email=''"
- exec: rails r "SiteSetting.notification_email='{{ discourse | traverse('settings:notification_email') }}'"
- exec: echo "End of custom commands"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment