Skip to content

fjudith/docker-nexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Introduction

Nexus is an open source repository manager which enables the management of various package formats.

  • Bower
  • Docker (a.k.a Private Registry)
  • Git LFS
  • Maven 2
  • NPM
  • NuGET
  • Python PL
  • Raw
  • Ruby Gem
  • Yum

Description

The Dockerfile builds from "sonatype/nexus3" and "nginx" images see:

3.7.1, latest 3.7.1, nginx

The nginx container stands as a Reverse proxy/SSL Terminator to Nexus in order route request to the docker registry based on the user-agent.

Roadmap

  • Self-Signed certificate autogen
  • Docker registry routing based on user-gent
  • Let's encrypt certificate autogen
  • Support SSL certificate mount to /etc/nginx/ssl/nginx.crt|nginx.key

Quick Start

First run the nexus container

docker run -d --name="nexus" -p 8081:8081 -p 5000:5000 fjudith/nexus

Then run the nginx container

docker run -it --name="nexus-nginx" --link nexus:nexus -p 80:80 -p 443:443 fjudith/nexus:nginx

Start a web browser session to http://ip or htts://ip

Environmnet variables

Nexus container

Nginx container

  • LETS_ENCRYPT_ENABLED: Enables Let's Encrypt certificate instead of self-signed; default false
  • PUBLIC_DNS: DNS domain to be used as certificate "CN" record; default draw.example.com
  • ORGANISATION_UNIT: Organisation unit to be used as certificate "OU" record; default Cloud Native Application
  • ORGANISATION: Organisation name to be used as certificate "O" record; default example inc
  • CITY: City name to be used as certificate "L" record; default Paris
  • STATE: State name to be used as certificate "ST" record; default Paris
  • COUNTRY_CODE: Country code to be used as certificate "C" record; default FR

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages