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

42 lines
1.0 KiB
YAML
Raw Normal View History

version: '2.1'
services:
jenkins-master:
2018-04-19 20:27:05 +02:00
image: jenkinsci/blueocean:latest
ports:
- 8080
- 50000
volumes:
- molgenis-jenkins:/var/jenkins_home
restart: always
labels:
io.rancher.container.pull_image: always
traefik.frontend.rule: Host:${DOMAINS}
traefik.backend: ${TRAEFIK_BACKEND}
traefik.enable: true
traefik.port: 8080
healthcheck:
test: ["CMD", "curl", "-sS", "http://localhost:50000" ]
interval: 5s
timeout: 10s
retries: 5
jenkins-agent-maven:
2018-04-19 20:27:05 +02:00
image: registry.molgenis.org/docker-molgenis-ops-releases/jenkins-agent-buildtools:lts
environment:
- JENKINS_URL=http://localhost:8080
- JENKINS_SECRET=paradoxa
- JENKINS_AGENT_NAME=buildtools
volumes:
- molgenis-jenkins-agent-buildtools:/var/jenkins_home
depends_on:
jenkins-master:
condition: service_healthy
restart: always
volumes:
molgenis-jenkins:
2018-04-20 13:36:33 +02:00
driver: rancher-nfs
molgenis-jenkins-agent-buildtools:
2018-04-20 13:36:33 +02:00
driver: rancher-nfs