Mercurial > public > ssdt-docker
diff compose3/preview/import-usps.yml @ 136:72f15ffc9ad2
DEP-12: convert compose files to 3.1. remove template. update bash script to create composite docker-files without extends. prevent overwriting manual changes to docker-comose.yml
author | smith@nwoca.org |
---|---|
date | Mon, 15 May 2017 23:07:10 +0100 |
parents | 03e39b95d904 |
children |
line wrap: on
line diff
--- a/compose3/preview/import-usps.yml Mon May 15 21:33:24 2017 +0100 +++ b/compose3/preview/import-usps.yml Mon May 15 23:07:10 2017 +0100 @@ -1,6 +1,13 @@ version: "3.1" services: uspsimport: - extends: - file: /ssdt/compose2/preview/usxs-services.yml - service: uspsimport-base + image: docker.ssdt.io/usps-import:preview + command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- } ${IMP_ANON- } ${IMP_EM- } + depends_on: + - uspsdb + environment: + - DB_HOST=uspsdb + - DB_NAME=uspsdb + - DB_USER=usps + - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault} + \ No newline at end of file