version: '2' services: jenkins: image: jenkinsci/blueocean:latest ports: - 8080 volumes: - molgenis-jenkins:/var/jenkins_home labels: io.rancher.container.pull_image: always traefik.frontend.rule: Host:${DOMAINS} traefik.backend: ${TRAEFIK_BACKEND} traefik.enable: true traefik.port: 8080 jenkins-agent-buildtools: image: registry.molgenis.org/docker-molgenis/jenkins-agent-buildtools:latest volumes: - molgenis-jenkins-agent-buildtools:/var/jenkins_home volumes: molgenis-jenkins: driver: rancher-nfs molgenis-jenkins-agent-buildtools: driver: rancher-nfs