diff compose/preview/import-usas.yml @ 142:923c2b21fac7

flow: Merged <hotfix> 'v1.1.1' to <develop> ('default').
author smith@nwoca.org
date Fri, 16 Jun 2017 17:14:16 +0100
parents ddecbf87f5a7
children
line wrap: on
line diff
--- a/compose/preview/import-usas.yml	Mon May 15 23:07:10 2017 +0100
+++ b/compose/preview/import-usas.yml	Fri Jun 16 17:14:16 2017 +0100
@@ -1,9 +1,16 @@
 usasimport:
   image: docker.ssdt.io/usas-import:preview
+  entrypoint: 
+    - java
+    - -Xmx1600m
+    - -XX:MaxMetaspaceSize=256m
+    - -jar
+    - /opt/import/usas-import.jar
   command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH}
   links:
     - usasdb:database
   environment:
+    - DB_POOL_LEAKDETECTIONTHRESHOLD=0
     - DB_HOST=database
     - DB_NAME=$${DATABASE_ENV_DB_NAME}
     - DB_USER=$${DATABASE_ENV_DB_USER}