changeset 298:9dbc33d0ca96

add application.instance.type in default configurations
author smith@nwoca.org
date Wed, 10 Apr 2019 22:30:14 +0100
parents 5be78ce3b33c
children df33fa20c3af 107f0c5955c1
files prod/training.yml prod/usas-services.yml prod/usps-services.yml
diffstat 3 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prod/training.yml	Tue Feb 12 13:44:33 2019 +0000
+++ b/prod/training.yml	Wed Apr 10 22:30:14 2019 +0100
@@ -24,6 +24,7 @@
         aliases:
         - ${USAS_APP_HOST:-usasapp-svr}
     environment:
+      - APPLICATION_INSTANCE_TYPE=Training
       - APPLICATION_ADMIN_PASSWORD=training
       - APPLICATION_ADMIN_RESET=true
       - DB_HOST=usasdb
@@ -59,6 +60,7 @@
         aliases:
         - ${USPS_APP_HOST:-uspsapp-svr}
     environment:
+      - APPLICATION_INSTANCE_TYPE=Training
       - APPLICATION_ADMIN_PASSWORD=training
       - APPLICATION_ADMIN_RESET=true
       - DB_HOST=uspsdb
--- a/prod/usas-services.yml	Tue Feb 12 13:44:33 2019 +0000
+++ b/prod/usas-services.yml	Wed Apr 10 22:30:14 2019 +0100
@@ -25,6 +25,7 @@
       - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
       - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
       - SSL_POLICY=${SSL_POLICY:-Mozilla-Modern}
+      - APPLICATION_INSTANCE_TYPE=${APPLICATION_INSTANCE_TYPE:-Production}
       - 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
--- a/prod/usps-services.yml	Tue Feb 12 13:44:33 2019 +0000
+++ b/prod/usps-services.yml	Wed Apr 10 22:30:14 2019 +0100
@@ -25,6 +25,7 @@
       - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
       - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
       - SSL_POLICY=${SSL_POLICY:-Mozilla-Modern}
+      - APPLICATION_INSTANCE_TYPE=${APPLICATION_INSTANCE_TYPE:-Production}
       - 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