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

30 lines
697 B
YAML
Raw Normal View History

2018-04-23 09:27:21 +02:00
version: '2.1'
services:
opencpu:
image: registry.webhosting.rug.nl/molgenis/molgenis-opencpu:latest
ports:
- 8004
- 50000
restart: always
labels:
io.rancher.container.pull_image: always
healthcheck:
test: ["CMD", "curl", "-sS", "http://localhost:8004"]
interval: 5s
timeout: 10s
retries: 5
apache:
image: registry.webhosting.rug.nl/docker-molgenis-ops-releases/apache:latest
ports:
- 80
restart: always
labels:
io.rancher.container.pull_image: always
traefik.frontend.rule: Host:${DOMAINS}
traefik.backend: ${TRAEFIK_BACKEND}
traefik.enable: true
traefik.port: 80