2018-03-15 00:20:13 +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:
|
|
|
|
- postgres
|
|
|
|
- elasticsearch
|
|
|
|
volumes_from:
|
|
|
|
- molgenis-data
|
|
|
|
environment:
|
|
|
|
- "db_uri=jdbc:postgresql://postgres/molgenis?reWriteBatchedInserts=true&autosave=CONSERVATIVE"
|
|
|
|
- "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 00:20:13 +01:00
|
|
|
- "elasticsearch.cluster.name=molgenis"
|
|
|
|
- "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
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:9.6-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=molgenis
|
|
|
|
- POSTGRES_PASSWORD=molgenis
|
|
|
|
- POSTGRES_DB=molgenis
|
|
|
|
- PGDATA=/var/lib/postgresql/data/pgdata
|
|
|
|
volumes_from:
|
|
|
|
- postgres-data
|
|
|
|
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:
|
|
|
|
- "cluster.name=molgenis"
|
|
|
|
- "bootstrap.memory_lock=true"
|
|
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
|
|
- "xpack.security.enabled=false"
|
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
# volumes_from:
|
|
|
|
# - elasticsearch-data
|
|
|
|
ports:
|
|
|
|
- 9200:9200
|
|
|
|
- 9300:9300
|
|
|
|
labels:
|
|
|
|
#io.rancher.sidekicks: elasticsearch-data
|
|
|
|
io.rancher.scheduler.global: true
|
|
|
|
|
|
|
|
postgres-data:
|
|
|
|
image: busybox
|
|
|
|
labels:
|
|
|
|
io.rancher.container.start_once: true
|
|
|
|
volumes:
|
|
|
|
- /var/lib/postgresql/data/pgdata
|
|
|
|
|
|
|
|
molgenis-data:
|
|
|
|
image: busybox
|
|
|
|
labels:
|
|
|
|
io.rancher.container.start_once: true
|
|
|
|
volumes:
|
|
|
|
- /opt/molgenis
|
|
|
|
|
|
|
|
# elasticsearch-data:
|
|
|
|
# image: busybox
|
|
|
|
# labels:
|
|
|
|
# io.rancher.container.start_once: true
|
|
|
|
# volumes:
|
|
|
|
# - /usr/share/elasticsearch/data
|