changeset 232:773ec9cc88a9 production

add ability to specify usasimport override file
author smith@nwoca.org
date Tue, 26 Dec 2017 19:43:26 +0000
parents 195d46a689d4
children fa943a14123d
files pilot/import-usas.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pilot/import-usas.sh	Mon Oct 09 21:35:35 2017 +0100
+++ b/pilot/import-usas.sh	Tue Dec 26 19:43:26 2017 +0000
@@ -11,10 +11,11 @@
 export IMP_PATH=${IMP_PATH}
 
 [ -f "docker-compose.override.yml" ] && export OVERRIDE=" -f docker-compose.override.yml"
+[ -f "docker-compose.usasimport.override.yml" ] && export OVERRIDE2=" -f docker-compose.usasimport.override.yml"
 #
 docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE rm -f usasimport 
 # start import and wait for completion
-docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE up usasimport | tee usasimport.log
+docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE $OVERRIDE2 up usasimport | tee usasimport.log
 # remove temporary container
 docker-compose -f docker-compose.yml -f ${SSDT_HOME}/pilot/import-usas.yml $OVERRIDE rm -f usasimport
 # start application