File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,5 @@ templates:
2
2
- " templates/web.template.yml"
3
3
- " templates/web.ratelimited.template.yml"
4
4
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'"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ services:
9
9
image : rubydata/discourse
10
10
command : /sbin/boot
11
11
environment :
12
+ DISCOURSE_HOSTNAME : discourse.ruby-data.org
12
13
DISCOURSE_DB_SOCKET : ' '
13
14
DISCOURSE_DB_HOST : postgres
14
15
DISCOURSE_DB_PORT : 5432
@@ -18,8 +19,11 @@ services:
18
19
DISCOURSE_DEVELOPER_EMAILS : muraken@gmail.com
19
20
DISCOURSE_SMTP_ADDRESS : email-smtp.us-west-2.amazonaws.com
20
21
DISCOURSE_SMTP_PORT : 587
22
+ DISCOURSE_SMTP_AUTHENTICATION : login
23
+ DISCOURSE_SMTP_ENABLE_START_TLS : " true"
21
24
DISCOURSE_SMTP_USER_NAME : ${DISCOURSE_SMTP_USER_NAME}
22
25
DISCOURSE_SMTP_PASSWORD : ${DISCOURSE_SMTP_PASSWORD}
26
+ DISCOURSE_SMTP_DOMAIN : ruby-data.org
23
27
ports :
24
28
- " 8880:80"
25
29
- " 2222:22"
You can’t perform that action at this time.
0 commit comments