2018-03-17 22:23:23 +01:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
molgenis:
|
|
|
|
image: registry.webhosting.rug.nl/molgenis/molgenis:4.1.0
|
|
|
|
ports:
|
|
|
|
- 8080
|
|
|
|
links:
|
|
|
|
- postgres
|
|
|
|
volumes:
|
|
|
|
- molgenis-data
|
|
|
|
labels:
|
|
|
|
traefik.frontend.rule: Host:${DOMAINS}
|
|
|
|
traefik.backend: ${TRAEFIK_BACKEND}
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.port: 8080
|
2018-03-09 08:03:13 +01:00
|
|
|
|
2018-03-17 22:23:23 +01:00
|
|
|
postgres:
|
2018-03-09 08:03:13 +01:00
|
|
|
image: postgres:9.6-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=molgenis
|
|
|
|
- POSTGRES_PASSWORD=molgenis
|
|
|
|
- POSTGRES_DB=molgenis
|
2018-03-15 00:20:13 +01:00
|
|
|
expose:
|
2018-03-09 08:03:13 +01:00
|
|
|
- 5432
|
2018-03-17 22:23:23 +01:00
|
|
|
volumes:
|
2018-03-15 00:20:13 +01:00
|
|
|
- postgres-data
|
2018-03-09 08:03:13 +01:00
|
|
|
|
2018-03-17 22:23:23 +01:00
|
|
|
volumes:
|
2018-03-09 08:03:13 +01:00
|
|
|
molgenis-data:
|
2018-03-17 22:23:23 +01:00
|
|
|
driver: local
|
|
|
|
postgres-data:
|
|
|
|
driver: local
|