version: '2' services: jenkins: image: sonatype/nexus3:latest ports: - 8081 volumes: - molgenis-nexus:/nexus-data labels: io.rancher.container.pull_image: always traefik.frontend.rule: Host:${DOMAINS} traefik.backend: ${TRAEFIK_BACKEND} traefik.enable: true traefik.port: 8081 volumes: molgenis-nexus: driver: local