Page MenuHomeDevCentral

D72.diff
No OneTemporary

D72.diff

diff --git a/config/forum/forum.yml.tmpl b/config/forum/forum.yml.tmpl
new file mode 100644
--- /dev/null
+++ b/config/forum/forum.yml.tmpl
@@ -0,0 +1,46 @@
+# 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.mandrillapp.com
+ DISCOURSE_SMTP_PORT: 587
+ DISCOURSE_SMTP_USER_NAME: %%`getcredentials 1 username`%%
+ DISCOURSE_SMTP_PASSWORD: %%`getcredentials 1 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

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 21:51 (20 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248121
Default Alt Text
D72.diff (1 KB)

Event Timeline