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-ops-releases/jenkins-agent-buildtools:latest ports: - 22 environment: JENKINS_SLAVE_SSH_PUBKEY= volumes: - molgenis-jenkins-agent-buildtools:/var/jenkins_home volumes: molgenis-jenkins: driver: local molgenis-jenkins-agent-buildtools: driver: local