2018-02-28 19:16:49 +01:00
|
|
|
app:
|
|
|
|
image: sidohaakma/molgenis-docker:4.1.0
|
|
|
|
ports:
|
|
|
|
- 8081:8080
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
volumes_from:
|
|
|
|
- molgenis-data
|
|
|
|
labels:
|
|
|
|
io.rancher.sidekicks: molgenis-data
|
|
|
|
io.rancher.scheduler.global: true
|
2018-03-09 10:46:39 +01:00
|
|
|
traefik.frontend.rule: Host:${DOMAINS}
|
|
|
|
traefik.backend: ${TRAEFIK_BACKEND}
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.port: 8080
|
2018-03-08 17:21:41 +01:00
|
|
|
|
2018-02-28 19:16:49 +01:00
|
|
|
db:
|
|
|
|
image: postgres:9.6-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=molgenis
|
|
|
|
- POSTGRES_PASSWORD=molgenis
|
|
|
|
- POSTGRES_DB=molgenis
|
|
|
|
expose:
|
|
|
|
- 5432
|
|
|
|
volumes_from:
|
|
|
|
- postgres-data
|
|
|
|
labels:
|
|
|
|
io.rancher.sidekicks: postgres-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
|