Mercurial > public > ssdt-docker
changeset 233:3133ce001603
add ability to specify usasimport override file
author | smith@nwoca.org |
---|---|
date | Tue, 26 Dec 2017 19:47:34 +0000 |
parents | 83f3340fe2a1 |
children | 2ae65177f74e |
files | pilot/import-usas.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pilot/import-usas.sh Mon Nov 06 10:34:54 2017 -0500 +++ b/pilot/import-usas.sh Tue Dec 26 19:47:34 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