version: '2' services: nexus: image: sonatype/nexus3:latest ports: - 8081 - 5000 volumes: - molgenis-nexus-data:/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-data: driver: local #driver_opts: # mountOpts: all_squash,anonuid=200,anongid=200 # onRemove: purge