Update standalone.yml
[discourse_docker.git] / samples / web_only.yml
index 5263adb23c732366e25348daf61034329ce88bdb..317370b5f2a1a10fcad6576d67094fa86e49dae5 100644 (file)
@@ -4,11 +4,15 @@
 templates:
   - "templates/sshd.template.yml"
   - "templates/web.template.yml"
+  - "templates/web.ratelimited.template.yml"
 
 expose:
   - "80:80"
   - "2222:22"
 
+# any extra arguments for Docker?
+# docker_args:
+
 params:
   ## Which Git revision should this container use? (default: tests-passed)
   #version: tests-passed
@@ -21,13 +25,13 @@ env:
 
   ## 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
@@ -50,6 +54,12 @@ volumes:
       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:
@@ -65,7 +75,6 @@ run:
   - 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