Mercurial > public > ssdt-docker
comparison scripts/import-usps.sh @ 94:6f8a77d8d58d
DEP-12: update import compose files
author | smith@nwoca.org |
---|---|
date | Mon, 10 Apr 2017 18:19:07 +0100 |
parents | d2c44193fbaa |
children | 13751fd2e40a |
comparison
equal
deleted
inserted
replaced
93:f6d96413673a | 94:6f8a77d8d58d |
---|---|
10 export IMP_URL=${IMP_URL-ftp://username:password@nwoca.org} | 10 export IMP_URL=${IMP_URL-ftp://username:password@nwoca.org} |
11 export IMP_PATH=${IMP_PATH} | 11 export IMP_PATH=${IMP_PATH} |
12 export IMP_ANON=${IMP_ANON:--a false} | 12 export IMP_ANON=${IMP_ANON:--a false} |
13 export IMP_EM=${IMP_EM-} | 13 export IMP_EM=${IMP_EM-} |
14 | 14 |
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-usps.yml rm -f uspsimport |
16 # start import and wait for completion | 16 # start import and wait for completion |
17 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up uspsimport | tee uspsimport.log | 17 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import-usps.yml up uspsimport | tee uspsimport.log |
18 # remove temporary container | 18 # remove temporary container |
19 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f uspsimport | 19 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import-usps.yml rm -f uspsimport |
20 # start application | 20 # start application |
21 docker-compose up -d uspsapp | 21 docker-compose up -d uspsapp |