diff compose/preview/training.yml @ 37:4cdd20de8b38

add training compose file
author smith@nwoca.org
date Wed, 20 Jan 2016 18:57:56 +0000
parents
children cd482d0a46e8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose/preview/training.yml	Wed Jan 20 18:57:56 2016 +0000
@@ -0,0 +1,27 @@
+usasdb:
+  restart: unless-stopped
+  image: docker.ssdt.io/trainingdb-usas
+  environment:
+    - DB_NAME=usasdb
+    - DB_USER=usas
+    - DB_PASS=usasdefault	
+usasapp:
+  extends:
+    file: /ssdt/compose/preview/usas.yml
+    service: usasapp
+  links:
+    - usasdb:database
+uspsdb:
+  restart: unless-stopped
+  image: docker.ssdt.io/trainingdb-usps
+  environment:
+    - DB_NAME=uspsdb
+    - DB_USER=usps
+    - DB_PASS=uspsdefault
+uspsapp:
+  extends:
+    file: /ssdt/compose/preview/usps.yml
+    service: uspsapp
+  links:
+    - uspsdb:database
+