Mercurial > public > ssdt-docker
annotate compose/preview/import-usas.yml @ 159:303259c08b7d
DEP-12: update backup scripts
author | smith@nwoca.org |
---|---|
date | Wed, 02 Aug 2017 21:44:52 +0100 |
parents | ddecbf87f5a7 |
children |
rev | line source |
---|---|
94 | 1 usasimport: |
2 image: docker.ssdt.io/usas-import:preview | |
138
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
3 entrypoint: |
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
4 - java |
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
5 - -Xmx1600m |
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
6 - -XX:MaxMetaspaceSize=256m |
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
7 - -jar |
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
8 - /opt/import/usas-import.jar |
94 | 9 command: -i ${IMP_IRN} -u ${IMP_URL} -r ${IMP_PATH} |
10 links: | |
11 - usasdb:database | |
12 environment: | |
138
ddecbf87f5a7
DEP-12: increase usas import memory, disable leak detection in importer
smith@nwoca.org
parents:
94
diff
changeset
|
13 - DB_POOL_LEAKDETECTIONTHRESHOLD=0 |
94 | 14 - DB_HOST=database |
15 - DB_NAME=$${DATABASE_ENV_DB_NAME} | |
16 - DB_USER=$${DATABASE_ENV_DB_USER} | |
17 - DB_PASS=$${DATABASE_ENV_DB_PASS} |