1 # A container for all things Data, be sure to set a secret password for
2 # discourse account, SOME_SECRET is just an example
6 - "templates/postgres.template.yml"
7 - "templates/redis.template.yml"
8 - "templates/sshd.template.yml"
15 # any extra arguments for Docker?
19 db_default_text_search_config: "pg_catalog.english"
21 ## Set db_shared_buffers to a max of 25% of the total memory.
23 ## On 1GB installs set to 128MB (to leave room for other processes)
24 ## on a 4GB instance you may raise to 1GB
25 #db_shared_buffers: "256MB"
27 ## Set higher on large instances it defaults to 10MB, for a 3GB install 40MB is a good default
28 ## this improves sorting performance, but adds memory usage per-connection
33 # ensure locale exists in container, you may need to install it
38 host: /var/discourse/shared/data
41 host: /var/discourse/shared/data/log/var-log
44 # TODO: SOME_SECRET to a password for the discourse user
49 alter user discourse with password 'SOME_SECRET';
50 cmd: su - postgres -c 'psql discourse'