changeset 122:4875af3f3383

DEP-12: move to compose v2
author smith@nwoca.org
date Sat, 06 May 2017 16:45:08 +0100
parents cf5348287cf6
children 48866e4ff8ff
files compose2/preview/import-usas.yml compose2/preview/import-usps.yml compose2/preview/training.yml compose2/preview/usas-template.yml compose2/preview/usps-template.yml compose2/preview/usxs-services.yml compose3/preview/import-usas.yml compose3/preview/import-usps.yml compose3/preview/training.yml compose3/preview/usas-template.yml compose3/preview/usps-template.yml compose3/preview/usxs-services.yml
diffstat 12 files changed, 134 insertions(+), 134 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose2/preview/import-usas.yml	Sat May 06 16:45:08 2017 +0100
@@ -0,0 +1,6 @@
+version: "2.1"
+services:
+  usasimport:
+    extends:
+     file: /ssdt/compose2/preview/usxs-services.yml
+     service: usasimport-base
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose2/preview/import-usps.yml	Sat May 06 16:45:08 2017 +0100
@@ -0,0 +1,6 @@
+version: "2.1"
+services:
+  uspsimport:
+    extends:
+     file: /ssdt/compose2/preview/usxs-services.yml
+     service: uspsimport-base
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose2/preview/training.yml	Sat May 06 16:45:08 2017 +0100
@@ -0,0 +1,34 @@
+version: "2.1"
+services:
+  usasdb:
+    restart: unless-stopped
+    image: docker.ssdt.io/trainingdb-usas
+    environment:
+      - DB_NAME=usasdb
+      - DB_USER=usas
+      - DB_PASS=usasdefault
+  usasapp:
+    restart: unless-stopped
+    image: docker.ssdt.io/usas-app:preview
+    environment:
+      - DB_HOST=usasdb
+      - DB_NAME=usasdb
+      - DB_USER=usas
+      - DB_PASS=usasdefault
+      - JAVA_OPTS=-Xmx640m
+  uspsdb:
+    restart: unless-stopped
+    image: docker.ssdt.io/trainingdb-usps
+    environment:
+      - DB_NAME=uspsdb
+      - DB_USER=usps
+      - DB_PASS=uspsdefault
+  uspsapp:
+    restart: unless-stopped
+    image: docker.ssdt.io/usps-app:preview
+    environment:
+      - DB_HOST=uspsdb
+      - DB_NAME=uspsdb
+      - DB_USER=usps
+      - DB_PASS=uspsdefault
+      - JAVA_OPTS=-Xmx640m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose2/preview/usas-template.yml	Sat May 06 16:45:08 2017 +0100
@@ -0,0 +1,12 @@
+version: "2.1"
+services:
+  usasdb:
+    extends:
+      file: /ssdt/compose2/preview/usxs-services.yml
+      service: usasdb-base
+  usasapp:
+    extends:
+      file: /ssdt/compose2/preview/usas-services.yml
+      service: usasapp-base
+    depends_on:
+      - usasdb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose2/preview/usps-template.yml	Sat May 06 16:45:08 2017 +0100
@@ -0,0 +1,12 @@
+version: "2.1"
+services:
+  uspsdb:
+    extends:
+      file: /ssdt/compose2/preview/usxs-services.yml
+      service: uspsdb-base
+  uspsapp:
+    extends:
+       file: /ssdt/compose2/preview/usxs-services.yml
+       service: uspsapp-base
+    depends_on:
+      - uspsdb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compose2/preview/usxs-services.yml	Sat May 06 16:45:08 2017 +0100
@@ -0,0 +1,64 @@
+# base compose file for USxS Preview releases
+version: "2.1"
+services:
+  usasdb-base:
+    restart: unless-stopped
+    image: docker.ssdt.io/ssdt-postgres:3
+    volumes:
+      - usasdata:/var/lib/postgresql/data
+    environment:
+      - DB_NAME=usasdb
+      - DB_USER=usas
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
+  usasapp-base:
+    restart: unless-stopped
+    image: docker.ssdt.io/usas-app:preview
+    environment:
+      - DB_HOST=usasdb
+      - DB_NAME=usasdb
+      - DB_USER=usas
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=uspsapp
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=false
+  usasimport-base:
+    image: docker.ssdt.io/usas-import:preview
+    command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH}
+    environment:
+      - DB_HOST=usasdb
+      - DB_NAME=usasdb
+      - DB_USER=usas
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
+  uspsdb-base:
+    restart: unless-stopped
+    image: docker.ssdt.io/ssdt-postgres:3
+    volumes:
+      - uspsdata:/var/lib/postgresql/data
+    environment:
+      - DB_NAME=uspsdb
+      - DB_USER=usps
+      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
+  uspsapp-base:
+    restart: unless-stopped
+    image: docker.ssdt.io/usps-app:preview
+    environment:
+      - DB_HOST=uspsdb
+      - DB_NAME=uspsdb
+      - DB_USER=usps
+      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
+      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp
+      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
+      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=0.0.0.0
+      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=false
+  uspsimport-base:
+    image: docker.ssdt.io/usps-import:preview
+    command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH} ${IMP_ANON} ${IMP_EM}
+    environment:
+      - DB_HOST=uspsdb
+      - DB_NAME=uspsdb
+      - DB_USER=usps
+      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}            
+volumes:
+   usasdata:
+   uspsdata:
\ No newline at end of file
--- a/compose3/preview/import-usas.yml	Sat May 06 16:27:43 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-version: "2.1"
-services:
-  usasimport:
-    extends:
-     file: /ssdt/compose3/preview/usxs-services.yml
-     service: usasimport
--- a/compose3/preview/import-usps.yml	Sat May 06 16:27:43 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-version: "2.1"
-services:
-  uspsimport:
-    extends:
-     file: /ssdt/compose3/preview/usxs-services.yml
-     service: uspsimport
--- a/compose3/preview/training.yml	Sat May 06 16:27:43 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-version: "2.1"
-services:
-  usasdb:
-    restart: unless-stopped
-    image: docker.ssdt.io/trainingdb-usas
-    environment:
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=usasdefault
-  usasapp:
-    restart: unless-stopped
-    image: docker.ssdt.io/usas-app:preview
-    environment:
-      - DB_HOST=usasdb
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=usasdefault
-      - JAVA_OPTS=-Xmx640m
-  uspsdb:
-    restart: unless-stopped
-    image: docker.ssdt.io/trainingdb-usps
-    environment:
-      - DB_NAME=uspsdb
-      - DB_USER=usps
-      - DB_PASS=uspsdefault
-  uspsapp:
-    restart: unless-stopped
-    image: docker.ssdt.io/usps-app:preview
-    environment:
-      - DB_HOST=uspsdb
-      - DB_NAME=uspsdb
-      - DB_USER=usps
-      - DB_PASS=uspsdefault
-      - JAVA_OPTS=-Xmx640m
--- a/compose3/preview/usas-template.yml	Sat May 06 16:27:43 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-version: "2.1"
-services:
-  usasdb:
-    extends:
-      file: /ssdt/compose3/preview/usxs-services.yml
-      service: usasdb
-  usasapp:
-    extends:
-       file: /ssdt/compose3/preview/usas-services.yml
-       service: usasapp
-    depends_on:
-      - usasdb
--- a/compose3/preview/usps-template.yml	Sat May 06 16:27:43 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-version: "2.1"
-services:
-  uspsdb:
-    extends:
-      file: /ssdt/compose3/preview/usxs-services.yml
-      service: uspsdb
-  uspsapp:
-    extends:
-       file: /ssdt/compose3/preview/usxs-services.yml
-       service: uspsapp
-    depends_on:
-      - uspsdb
--- a/compose3/preview/usxs-services.yml	Sat May 06 16:27:43 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-# base compose file for USxS Preview releases
-version: "2.1"
-services:
-  usasdb:
-    restart: unless-stopped
-    image: docker.ssdt.io/ssdt-postgres:3
-    volumes:
-      - usasdata:/var/lib/postgresql/data
-    environment:
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
-  usasapp:
-    restart: unless-stopped
-    image: docker.ssdt.io/usas-app:preview
-    environment:
-      - DB_HOST=usasdb
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=uspsapp
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=false
-  usasimport:
-    image: docker.ssdt.io/usas-import:preview
-    command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH}
-    environment:
-      - DB_HOST=usasdb
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
-  uspsdb:
-    restart: unless-stopped
-    image: docker.ssdt.io/ssdt-postgres:3
-    volumes:
-      - uspsdata:/var/lib/postgresql/data
-    environment:
-      - DB_NAME=uspsdb
-      - DB_USER=usps
-      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
-  uspsapp:
-    restart: unless-stopped
-    image: docker.ssdt.io/usps-app:preview
-    environment:
-      - DB_HOST=uspsdb
-      - DB_NAME=uspsdb
-      - DB_USER=usps
-      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
-      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=usasapp
-      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
-      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=0.0.0.0
-      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=false
-  uspsimport:
-    image: docker.ssdt.io/usps-import:preview
-    command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH} ${IMP_ANON} ${IMP_EM}
-    environment:
-      - DB_HOST=uspsdb
-      - DB_NAME=uspsdb
-      - DB_USER=usps
-      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}            
-volumes:
-   usasdata:
-   uspsdata:
\ No newline at end of file