changeset 118:48a6e3795a1f

DEP-12: add depends on to configuration
author smith@nwoca.org
date Thu, 04 May 2017 19:15:44 +0100
parents 912933cacd29
children 0ede2dda7d99
files compose3/preview/usas.yml compose3/preview/usps.yml
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/compose3/preview/usas.yml	Fri Apr 28 13:54:20 2017 -0400
+++ b/compose3/preview/usas.yml	Thu May 04 19:15:44 2017 +0100
@@ -11,10 +11,12 @@
   usasapp:
     restart: unless-stopped
     image: docker.ssdt.io/usas-app:preview
+    depends_on:
+      - usasdb
     environment:
       - DB_HOST=usasdb
       - DB_NAME=usasdb
       - DB_USER=usas
       - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=uspsapp
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERDNSLOOKUP=true
\ No newline at end of file
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERDNSLOOKUP=true
--- a/compose3/preview/usps.yml	Fri Apr 28 13:54:20 2017 -0400
+++ b/compose3/preview/usps.yml	Thu May 04 19:15:44 2017 +0100
@@ -11,6 +11,8 @@
   uspsapp:
     restart: unless-stopped
     image: docker.ssdt.io/usps-app:preview
+    depends_on:
+      - uspsdb
     environment:
       - DB_HOST=uspsdb
       - DB_NAME=uspsdb