Install Discourse narrative bot by default.
[discourse_docker.git] / samples / data.yml
index cef5c78ed645d214bde0cb619f33d7f504b02e0d..a38ffa0c9f5dbf7e8bd9012af23c1198a4e68b71 100644 (file)
@@ -5,18 +5,23 @@
 templates:
   - "templates/postgres.template.yml"
   - "templates/redis.template.yml"
-  - "templates/sshd.template.yml"
 
-expose:
-  - "5432:5432"
-  - "6379:6379"
-  - "2221:22"
+# any extra arguments for Docker?
+# docker_args:
 
 params:
   db_default_text_search_config: "pg_catalog.english"
-  ## Set db_shared_buffers to 1/3 of the memory you wish to allocate to postgres
-  ## on 1GB install set to 128MB on a 4GB instance you may raise to 1GB
+
+  ## Set db_shared_buffers to a max of 25% of the total memory.
+  ##
+  ## On 1GB installs set to 128MB (to leave room for other processes)
+  ## on a 4GB instance you may raise to 1GB
   #db_shared_buffers: "256MB"
+  #
+  ## Set higher on large instances it defaults to 10MB, for a 3GB install 40MB is a good default
+  ## this improves sorting performance, but adds memory usage per-connection
+  #db_work_mem: "40MB"
+  #
 
 env:
   # ensure locale exists in container, you may need to install it