Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Paste
P313
config/forum/forum.yml.tmpl
Active
Public
Actions
Authored by
dereckson
on Mar 11 2023, 13:22.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F2175186: config/forum/forum.yml.tmpl
Mar 11 2023, 13:22
2023-03-11 13:22:22 (UTC+0)
Subscribers
None
# To upgrade the forum,
# (i) Perform a backup at https://forum.nasqueron.org/admin/backups
# (ii) cd /var/discourse ; ./launcher rebuild forum
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
expose:
- "32080:80"
params:
db_default_text_search_config: "pg_catalog.english"
db_shared_buffers: "128MB"
#db
_work_mem
:
"40MB"
env:
LANG: en_US.UTF-8
UNICORN_WORKERS: 2
DISCOURSE_DEVELOPER_EMAILS: "dereckson+nasqueron+discourse@espace-win.org"
DISCOURSE_HOSTNAME: forum.nasqueron.org
DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
DISCOURSE_SMTP_USER_NAME: %%`getcredentials 63 username`%%
DISCOURSE_SMTP_PASSWORD: %%`getcredentials 63 password`%%
DISCOURSE_SMTP_ENABLE_START_TLS: true
## These containers are stateless, all data is stored in /shared
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 https://github.com/discourse/docker_manager.git
- git clone https://github.com/kasperpeulen/discourse-mathjax.git
Event Timeline
dereckson
created this paste.
Mar 11 2023, 13:22
2023-03-11 13:22:22 (UTC+0)
dereckson
mentioned this in
T1794: Provision Discourse through Docker PaaS role
.
Mar 11 2023, 13:26
2023-03-11 13:26:41 (UTC+0)
dereckson
mentioned this in
D2876: Prune config legacy content
.
Mar 11 2023, 13:27
2023-03-11 13:27:30 (UTC+0)
dereckson
mentioned this in
rOPSc804d0b20334: Prune config legacy content
.
Mar 11 2023, 13:27
2023-03-11 13:27:46 (UTC+0)
Log In to Comment