Mercurial > public > ssdt-docker
comparison scripts/import-usps.sh @ 46:dfbb643b82a3
tee import logs to a file
author | smith@nwoca.org |
---|---|
date | Tue, 02 Feb 2016 21:24:28 +0000 |
parents | dc40a6ed0af3 |
children | e155908fa039 |
comparison
equal
deleted
inserted
replaced
45:dc40a6ed0af3 | 46:dfbb643b82a3 |
---|---|
8 export IMP_PATH=${IMP_PATH} | 8 export IMP_PATH=${IMP_PATH} |
9 export IMP_ANON=${IMP_ANON:--a false} | 9 export IMP_ANON=${IMP_ANON:--a false} |
10 export IMP_EM=${IMP_EM-} | 10 export IMP_EM=${IMP_EM-} |
11 | 11 |
12 # start import and wait for completion | 12 # start import and wait for completion |
13 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up uspsimport | 13 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up uspsimport | tee uspsimport.log |
14 # remove temporary container | 14 # remove temporary container |
15 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f uspsimport | 15 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f uspsimport |
16 # start application | 16 # start application |
17 docker-compose up -d uspsapp | 17 docker-compose up -d uspsapp |
18 | 18 |