22 lines
442 B
YAML
22 lines
442 B
YAML
app:
|
|
image: sidohaakma/molgenis-docker:2.0.0
|
|
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:
|
|
build: ./db
|
|
expose:
|
|
- 5432
|
|
volumes:
|
|
- db-data:/var/lib/postgresql/data
|