Skip to content

Commit e6bdc32

Browse files
committed
Fix SiteSetting.notification_email
1 parent 985428d commit e6bdc32

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

app.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,5 @@ templates:
22
- "templates/web.template.yml"
33
- "templates/web.ratelimited.template.yml"
44

5-
env:
6-
LANG: en_US.UTF-8
7-
8-
DISCOURSE_DB_SOCKET: ''
9-
DISCOURSE_DB_HOST: postgres
10-
DISCOURSE_DB_PORT: 5432
11-
DISCOURSE_DB_USERNAME: discourse
12-
DISCOURSE_DB_PASSWORD: ''
13-
DISCOURSE_REDIS_HOST: redis
14-
15-
DISCOURSE_DEVELOPER_EMAILS: 'muraken@gmail.com'
16-
DISCOURSE_HOSTNAME: 'discourse.ruby-data.org'
17-
18-
DISCOURSE_SMTP_ADDRESS: smtp.example.com # (mandatory)
5+
run:
6+
- exec: rails r "SiteSetting.notification_email='noreply@discourse.ruby-data.org'"

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99
image: rubydata/discourse
1010
command: /sbin/boot
1111
environment:
12+
DISCOURSE_HOSTNAME: discourse.ruby-data.org
1213
DISCOURSE_DB_SOCKET: ''
1314
DISCOURSE_DB_HOST: postgres
1415
DISCOURSE_DB_PORT: 5432
@@ -18,8 +19,11 @@ services:
1819
DISCOURSE_DEVELOPER_EMAILS: muraken@gmail.com
1920
DISCOURSE_SMTP_ADDRESS: email-smtp.us-west-2.amazonaws.com
2021
DISCOURSE_SMTP_PORT: 587
22+
DISCOURSE_SMTP_AUTHENTICATION: login
23+
DISCOURSE_SMTP_ENABLE_START_TLS: "true"
2124
DISCOURSE_SMTP_USER_NAME: ${DISCOURSE_SMTP_USER_NAME}
2225
DISCOURSE_SMTP_PASSWORD: ${DISCOURSE_SMTP_PASSWORD}
26+
DISCOURSE_SMTP_DOMAIN: ruby-data.org
2327
ports:
2428
- "8880:80"
2529
- "2222:22"

0 commit comments

Comments
 (0)