32 lines
630 B
YAML
32 lines
630 B
YAML
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
|
|
|
|
postgres:
|
|
image: postgres:9.6-alpine
|
|
environment:
|
|
- POSTGRES_USER=molgenis
|
|
- POSTGRES_PASSWORD=molgenis
|
|
- POSTGRES_DB=molgenis
|
|
expose:
|
|
- 5432
|
|
volumes:
|
|
- postgres-data
|
|
|
|
volumes:
|
|
molgenis-data:
|
|
driver: local
|
|
postgres-data:
|
|
driver: local |