1
0
molgenis-ops-rancher/templates/nexus/0/docker-compose.yml

23 lines
486 B
YAML

version: '2'
services:
nexus:
image: sonatype/nexus3:latest
ports:
- 8081
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