diff compose3/preview/import-usas.yml @ 121:cf5348287cf6

DEP-12: consolidate compose services
author smith@nwoca.org
date Sat, 06 May 2017 16:27:43 +0100
parents 40d81a3dd3cc
children
line wrap: on
line diff
--- a/compose3/preview/import-usas.yml	Fri May 05 20:33:26 2017 +0100
+++ b/compose3/preview/import-usas.yml	Sat May 06 16:27:43 2017 +0100
@@ -1,10 +1,6 @@
 version: "2.1"
 services:
   usasimport:
-    image: docker.ssdt.io/usas-import:preview
-    command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH}
-    environment:
-      - DB_HOST=usasdb
-      - DB_NAME=usasdb
-      - DB_USER=usas
-      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
+    extends:
+     file: /ssdt/compose3/preview/usxs-services.yml
+     service: usasimport