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
The Dockerfile builds from "sonatype/nexus3" and "nginx" images see:
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.
- 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
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
- 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