1
0
Fork 0
molgenis-ops-rancher/templates/molgenis/0/docker-compose.yml

22 lines
497 B
YAML

app:
image: registry.webhosting.rug.nl/molgenis:2.0.1
ports:
- 8081:8080
links:
- db
volumes:
- app-data:/opt/molgenis
labels:
io.rancher.container.create_agent: true
io.rancher.scheduler.global: true
traefik.frontend.rule: Host:${DOMAINS}
traefik.backend: ${TRAEFIK_BACKEND}
traefik.enable: true
traefik.port: 8080
db:
image: registry.webhosting.rug.nl/molgenis-postgres:2.0.1
expose:
- 5432
volumes:
- db-data:/var/lib/postgresql/data