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 volumes: - molgenis-jenkins-agent-buildtools:/var/jenkins_home volumes: molgenis-jenkins: driver: rancher-nfs driver_opts: mntOptions: all_squash,anonuid=1000,anongid=1000 molgenis-jenkins-agent-buildtools: driver: rancher-nfs driver_opts: mntOptions: all_squash,anonuid=1000,anongid=1000