diff compose3/preview/import-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/import-usas.yml	Fri Apr 21 20:42:58 2017 +0100
+++ b/compose3/preview/import-usas.yml	Mon Apr 24 15:20:17 2017 +0100
@@ -1,4 +1,4 @@
-version: "2"
+version: "3"
 services:
   usasimport:
     image: docker.ssdt.io/usas-import:preview
@@ -7,8 +7,4 @@
       - DB_HOST=usasdb
       - DB_NAME=usasdb
       - DB_USER=usas
-      - DB_PASS=usasdefault
-    environment:
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=usasdefault
\ No newline at end of file
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}