2018-03-17 21:42:53 +01:00
|
|
|
molgenis:
|
2018-03-15 00:25:21 +01:00
|
|
|
image: registry.webhosting.rug.nl/molgenis/molgenis:latest
|
2018-03-15 00:20:13 +01:00
|
|
|
ports:
|
|
|
|
- 8080
|
|
|
|
links:
|
2018-03-17 21:34:02 +01:00
|
|
|
- app
|
2018-03-15 00:20:13 +01:00
|
|
|
- elasticsearch
|
2018-03-17 21:34:02 +01:00
|
|
|
volumes:
|
2018-03-17 21:42:53 +01:00
|
|
|
- molgenis-data
|
2018-03-15 00:20:13 +01:00
|
|
|
environment:
|
2018-03-15 10:09:50 +01:00
|
|
|
- "db_uri=jdbc:postgresql://postgres/${DB_SCHEME}?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
|
2018-03-15 00:20:13 +01:00
|
|
|
- "db_driver=org.postgresql.Driver"
|
|
|
|
- "db_user=molgenis"
|
|
|
|
- "db_password=molgenis"
|
2018-03-15 00:27:48 +01:00
|
|
|
- "admin.password=admin"
|
2018-03-15 10:09:50 +01:00
|
|
|
- "elasticsearch.cluster.name=${ELASTIC_CLUSTER}"
|
2018-03-15 00:20:13 +01:00
|
|
|
- "elasticsearch.transport.addresses=elasticsearch:9300"
|
|
|
|
labels:
|
|
|
|
io.rancher.sidekicks: molgenis-data
|
|
|
|
io.rancher.container.pull_image: always
|
|
|
|
io.rancher.scheduler.global: true
|
|
|
|
traefik.frontend.rule: Host:${DOMAINS}
|
|
|
|
traefik.backend: ${TRAEFIK_BACKEND}
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.port: 8080
|
|
|
|
|
2018-03-17 21:42:53 +01:00
|
|
|
postgres:
|
2018-03-15 00:20:13 +01:00
|
|
|
image: postgres:9.6-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=molgenis
|
|
|
|
- POSTGRES_PASSWORD=molgenis
|
2018-03-15 10:09:50 +01:00
|
|
|
- POSTGRES_DB=${DB_SCHEME}
|
2018-03-15 00:20:13 +01:00
|
|
|
- PGDATA=/var/lib/postgresql/data/pgdata
|
2018-03-17 21:34:02 +01:00
|
|
|
volumes:
|
2018-03-17 21:42:53 +01:00
|
|
|
- postgres-data
|
2018-03-15 00:20:13 +01:00
|
|
|
ports:
|
|
|
|
- 5432
|
|
|
|
labels:
|
|
|
|
io.rancher.sidekicks: postgres-data
|
|
|
|
io.rancher.scheduler.global: true
|
|
|
|
|
|
|
|
opencpu:
|
2018-03-15 00:25:21 +01:00
|
|
|
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:latest
|
2018-03-15 00:20:13 +01:00
|
|
|
ports:
|
|
|
|
- 8004:8004
|
|
|
|
|
|
|
|
elasticsearch:
|
|
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:5.5.1
|
|
|
|
environment:
|
2018-03-15 10:09:50 +01:00
|
|
|
- "cluster.name=${ELASTIC_CLUSTER}"
|
2018-03-15 00:20:13 +01:00
|
|
|
- "bootstrap.memory_lock=true"
|
|
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
|
|
- "xpack.security.enabled=false"
|
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
# volumes_from:
|
|
|
|
# - elasticsearch-data
|
|
|
|
ports:
|
2018-03-17 21:34:02 +01:00
|
|
|
- 9200
|
|
|
|
- 9300
|
|
|
|
volumes:
|
2018-03-17 21:42:53 +01:00
|
|
|
- elastic-data
|
2018-03-15 00:20:13 +01:00
|
|
|
labels:
|
|
|
|
#io.rancher.sidekicks: elasticsearch-data
|
|
|
|
io.rancher.scheduler.global: true
|
|
|
|
|
2018-03-17 21:34:02 +01:00
|
|
|
volumes:
|
2018-03-17 21:42:53 +01:00
|
|
|
postgres-data:
|
|
|
|
molgenis-data:
|
|
|
|
elastic-data:
|
2018-03-17 21:34:02 +01:00
|
|
|
driver: local
|
2018-03-15 00:20:13 +01:00
|
|
|
|