兄弟们好。
你们知道我已经完成了所有安装,但还没有配置 SMTP,所以现在我要进行配置。我有这个 app.yml 配置文件,想确认一下它是否正确。
templates:
- templates/postgres.template.yml
- templates/redis.template.yml
- templates/web.template.yml
- templates/web.ratelimited.template.yml
- templates/web.ssl.template.yml
- templates/web.letsencrypt.ssl.template.yml
expose:
- 80:80
- 443:443
params:
db_default_text_search_config: pg_catalog.english
db_shared_buffers: 1024MB
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
DISCOURSE_HOSTNAME: debatehosting.co
DISCOURSE_DEVELOPER_EMAILS: [已删除]
#DISCOURSE_SKIP_EMAIL_SETUP: '1'
UNICORN_WORKERS: 4
DISCOURSE_SMTP_ADDRESS: smtp.maileroo.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: [已删除]
DISCOURSE_SMTP_PASSWORD: "[已删除]"
DISCOURSE_SMTP_AUTHENTICATION: login
DISCOURSE_SMTP_ENABLE_START_TLS: true
volumes:
- volume:
host: "/var/discourse/shared/standalone"
guest: "/shared"
- volume:
host: "/var/discourse/shared/standalone/log/var-log"
guest: "/var/log"
hooks:
after_code:
- exec:
cd: "$home/plugins"
cmd:
- git clone
run:
- exec: echo "Beginning of custom commands"
- exec: echo "End of custom commands"
我做了一些测试,出现了“错误 - execution expired”(执行超时)。
谁来帮帮我?
