FEATURE: Add a sample 'links' key in a yaml configuration file to illustrate linking...
authorzdk <nx2zdk@gmail.com>
Fri, 3 Oct 2014 11:08:39 +0000 (18:08 +0700)
committerzdk <nx2zdk@gmail.com>
Fri, 3 Oct 2014 11:30:44 +0000 (18:30 +0700)
samples/web_only.yml

index a3b41a2fb39b3988a0416b38ff3c2f66c90c6d04..9fe34492547a5975a600ce405714f4dd77bb81be 100644 (file)
@@ -50,6 +50,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: