diff compose/preview/import-usas.yml @ 140:73c0c04a44eb production v1.1.1

flow: Merged <hotfix> 'v1.1.1' to <master> ('production').
author smith@nwoca.org
date Fri, 16 Jun 2017 17:14:15 +0100
parents ddecbf87f5a7
children
line wrap: on
line diff
--- a/compose/preview/import-usas.yml	Tue Apr 11 02:18:48 2017 +0100
+++ b/compose/preview/import-usas.yml	Fri Jun 16 17:14:15 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}