An open API service indexing awesome lists of open source software.

https://github.com/calvinlfer/docker-nexus3-oss

A Sonatype Nexus3 OSS image which makes it easy to do volume mounting
https://github.com/calvinlfer/docker-nexus3-oss

docker docker-image nexus3

Last synced: about 1 month ago
JSON representation

A Sonatype Nexus3 OSS image which makes it easy to do volume mounting

Awesome Lists containing this project

README

          

# Sonatype Nexus 3 Repository Manager OSS Docker Image
A Sonatype Nexus3 OSS image which makes it easy to do volume mounting

This image is based off the official Jenkins Docker image with the addition of allowing the jenkins user to be
added to a specific group. You can control exactly what this group is by specifying the Group ID by means of an
environment variable (LOCAL_USER_GID). In addition, the User ID can also be specified by means of an environment
variable (LOCAL_USER_ID).

The intention is that the group has the correct permissions to access the mounted volume.
This image is intended to be used with AWS EBS and AWS EFS.

The base [Nexus](https://hub.docker.com/r/sonatype/nexus3) image used is 3.10.0.

## AWS ECS ##
The [CloudFormation template](Classic/ECSNexus.yml) deploys Nexus in an existing ECS cluster where EFS is mounted. This is
designed to work with [ecs-cluster](https://github.com/FreckleIOT/ecs-cluster) which has CloudFormation templates to
deploy EFS and an ECS cluster that mounts EFS. This deploys Nexus in a private subnet. You can expose this publicly
using Kong API Gateway.

There are two templates:
* __ALB__: Makes use of the Application Load Balancer (recommended)
* __Classic__: makes use of the classic Elastic Load Balancer

### ALB template ###
The [ALB CloudFormation template](ALB/ALB.yaml) creates an Application Load Balancer with a default target group and
the [Nexus CloudFormation template](ALB/ECSNexus.yml) creates an ECS Service which uses the Application Load Balancer
along with an [ECS cluster that has EFS mounts](https://github.com/FreckleIOT/ecs-cluster)

### Classic template ###
An [all-in-one CloudFormation template](Classic/ECSNexus.yml) which creates an ECS Service along with a Classic Load
Balancer.