diff pilot/usps-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/usps-services.yml	Fri Aug 18 19:24:01 2017 +0100
+++ b/pilot/usps-services.yml	Tue Sep 05 20:11:35 2017 +0100
@@ -15,17 +15,19 @@
     depends_on:
       - uspsdb
     networks:
-      - default
+      default:
+        aliases:
+        - ${USPS_APP_HOST:-uspsapp-svr}
     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_CLIENTHOST=${USAS_APP_HOST:-usasapp-svr}
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOST=0.0.0.0
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOSTDNSLOOKUP=false
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APPLICATIONID=${USPS_APPLICATIONID:- }
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APIKEY=${USPS_APIKEY:- }
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPPLICATIONID=${USAS_APPLICATIONID:- }
-      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPIKEY=${USAS_APIKEY:- }
+      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPIKEY=${USAS_APIKEY:- }
\ No newline at end of file