templates:
- "templates/sshd.template.yml"
- "templates/web.template.yml"
+ - "templates/web.ratelimited.template.yml"
expose:
- "80:80"
## TODO: configure connectivity to the databases
DISCOURSE_DB_SOCKET: ''
- #DISCOURSE_DB_USER: discourse
+ #DISCOURSE_DB_USERNAME: discourse
DISCOURSE_DB_PASSWORD: SOME_SECRET
DISCOURSE_DB_HOST: DB_IP_ADDRESS
DISCOURSE_REDIS_HOST: REDIS_IP_ADDRESS
##
## TODO: List of comma delimited emails that will be made admin and developer
- ## on initial signup example 'user1@example.com, user2@example.com'
+ ## on initial signup example 'user1@example.com,user2@example.com'
DISCOURSE_DEVELOPER_EMAILS: 'me@example.com'
##
## TODO: The domain name this Discourse instance will respond to
host: /var/discourse/shared/web-only/log/var-log
guest: /var/log
+#Use 'links' key to link containers together, aka use Docker --link flag.
+#links:
+# - link:
+# name: data
+# alias: data
+
## The docker manager plugin allows you to one-click upgrade Discouse
## http://discourse.example.com/admin/docker
hooks:
- exec: echo "Beginning of custom commands"
## If you want to configure password login for root, uncomment and change:
- #- exec: apt-get -y install whois # for mkpasswd
## Use only one of the following lines:
#- exec: /usr/sbin/usermod -p 'PASSWORD_HASH' root
#- exec: /usr/sbin/usermod -p "$(mkpasswd -m sha-256 'RAW_PASSWORD')" root