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