diff pilot/usas-services.yml @ 172:65ad866531d3 hotfix/v1.2.1

USPSR-2856: create alias for apps in default network to allow integraation to use default network (instead of proxy, or other network)
author smith@nwoca.org
date Tue, 05 Sep 2017 20:11:35 +0100
parents 11fb5ba7f55b
children 19582dd3c364
line wrap: on
line diff
--- a/pilot/usas-services.yml	Fri Aug 18 19:24:01 2017 +0100
+++ b/pilot/usas-services.yml	Tue Sep 05 20:11:35 2017 +0100
@@ -15,17 +15,19 @@
     depends_on:
       - usasdb
     networks:
-      - default
+      default:
+        aliases:
+        - ${USAS_APP_HOST:-usasapp-svr}
     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_CLIENTHOST=${USPS_APP_HOST:-uspsapp-svr}
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOSTDNSLOOKUP=false
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APPLICATIONID=${USAS_APPLICATIONID:- }
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APIKEY=${USAS_APIKEY:- }
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPPLICATIONID=${USPS_APPLICATIONID:- }
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPIKEY=${USPS_APIKEY:- }
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPIKEY=${USPS_APIKEY:- }
\ No newline at end of file