diff compose3/preview/usas.yml @ 110:950df79a9d65 feature/djs-DEP-12-docker

DEP-12: update password configuration
author smith@nwoca.org
date Mon, 24 Apr 2017 15:20:17 +0100
parents 6ca3e22d50e4
children 40d81a3dd3cc
line wrap: on
line diff
--- a/compose3/preview/usas.yml	Fri Apr 21 20:42:58 2017 +0100
+++ b/compose3/preview/usas.yml	Mon Apr 24 15:20:17 2017 +0100
@@ -1,4 +1,5 @@
-version: "2"
+# base compose file for usas Preview release
+version: "3"
 services:
   usasdb:
     restart: unless-stopped
@@ -6,7 +7,7 @@
     environment:
       - DB_NAME=usasdb
       - DB_USER=usas
-      - DB_PASS=usasdefault
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
   usasapp:
     restart: unless-stopped
     image: docker.ssdt.io/usas-app:preview
@@ -14,7 +15,6 @@
       - DB_HOST=usasdb
       - DB_NAME=usasdb
       - DB_USER=usas
-      - DB_PASS=usasdefault
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=uspsapp
-      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERDNSLOOKUP=true
-      
+      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERDNSLOOKUP=true
\ No newline at end of file