diff compose3/preview/import-usas.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-usas.yml	Mon May 15 21:33:24 2017 +0100
+++ b/compose3/preview/import-usas.yml	Mon May 15 23:07:10 2017 +0100
@@ -1,6 +1,12 @@
 version: "3.1"
 services:
   usasimport:
-    extends:
-     file: /ssdt/compose2/preview/usxs-services.yml
-     service: usasimport-base
+    image: docker.ssdt.io/usas-import:preview
+    command: -i ${IMP_IRN- } -u ${IMP_URL- } -r ${IMP_PATH- }
+    depends_on:
+      - usasdb
+    environment:
+      - DB_HOST=usasdb
+      - DB_NAME=usasdb
+      - DB_USER=usas
+      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
\ No newline at end of file