added some samples for data only and web only containers
authorSam Saffron <sam.saffron@gmail.com>
Thu, 28 Nov 2013 03:21:16 +0000 (19:21 -0800)
committerSam Saffron <sam.saffron@gmail.com>
Thu, 28 Nov 2013 03:21:16 +0000 (19:21 -0800)
data.yml.sample [new file with mode: 0644]
web_only.yml.sample [new file with mode: 0644]

diff --git a/data.yml.sample b/data.yml.sample
new file mode 100644 (file)
index 0000000..2f46d82
--- /dev/null
@@ -0,0 +1,20 @@
+# a basic data only container
+
+templates:
+  - "templates/cron.template.yml"
+  - "templates/postgres.template.yml"
+  - "templates/redis.template.yml"
+  - "templates/sshd.template.yml"
+
+expose:
+  - "5432:5432"
+  - "6379:6379"
+  - "2221:22"
+
+params:
+  ssh_key: YOUR_KEY
+
+volumes:
+  - volume:
+        host: /home/sam/discourse_docker/shared
+        guest: /shared
diff --git a/web_only.yml.sample b/web_only.yml.sample
new file mode 100644 (file)
index 0000000..da66d1d
--- /dev/null
@@ -0,0 +1,37 @@
+templates:
+  - "templates/cron.template.yml"
+  - "templates/postgres.template.yml"
+  - "templates/redis.template.yml"
+  - "templates/sshd.template.yml"
+  - "templates/web.template.yml"
+
+expose:
+  - "80:80"
+  - "2222:22"
+
+params:
+  ssh_key: YOUR_KEY
+
+  version: HEAD
+
+
+  database_yml:
+    production:
+      host_names:
+        - example.com
+env:
+  DEVELOPER_EMAILS: 'dev@example.com'
+
+volumes:
+  - volume:
+        host: /home/sam/discourse_docker/shared
+        guest: /shared
+
+hooks:
+  after_code:
+    - exec:
+        cd: $home/plugins
+        cmd:
+          - mkdir -p plugins
+          - git clone https://github.com/SamSaffron/blog.git
+          - git clone https://github.com/discourse/docker_manager.git