Page MenuHomeDevCentral
Paste P313

config/forum/forum.yml.tmpl
ActivePublic

Authored by dereckson on Mar 11 2023, 13:22.
Tags
None
Referenced Files
F2175186: config/forum/forum.yml.tmpl
Mar 11 2023, 13:22
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