Mercurial > public > ssdt-docker
annotate compose/preview/import-usas.yml @ 201:9f1952644f04 release/v1.4.0
flow: Created branch 'release/v1.4.0'.
author | Christopher Springer <springer@nwoca.org> |
---|---|
date | Tue, 26 Sep 2017 15:33:15 +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} |