Sign inSign up

ntidev/nexus-repository

By ntidev

Updated over 1 year ago

This image is based on https://github.com/sonatype-nexus-community/nexus-repository-composer

Image
1

960

ntidev/nexus-repository repository overview

Exposing port 8081 and 8082 where docker will be listening.

version: '2'

services:
  nti-nexus-repository:
    image: docker.nettechinternational.com/nexus-repository
    restart: always
    ports: 
      # other repos.
      - 8081:8081
      # docker port
      - 8082:8082
    volumes:
      - nexus-data:/nexus-data
    
volumes:
  nexus-data:

If you are using traefik can enabled it to be proxy automatically using traefik labels.

version: '2'

services:
  nti-nexus-repository:
    image: docker.nettechinternational.com/nexus-repository
    restart: always
    labels:
      - "traefik.repository.frontend.rule=Host:${TRAEFIK_HOST_REPOSITORY}"
      - "traefik.repository.port=8081"
      - "traefik.repository.frontend.entryPoints=https"
      - "traefik.docker.frontend.rule=Host:${TRAEFIK_HOST_DOCKER}"
      - "traefik.docker.frontend.entryPoints=https"
      - "traefik.docker.port=8082"
      - "traefik.enable=true"
    volumes:
      - nexus-data:/nexus-data
    
volumes:
  nexus-data:

Tag summary

Content type

Image

Digest

Size

235.7 MB

Last updated

over 7 years ago

docker pull ntidev/nexus-repository