Code Monkey home page Code Monkey logo

nexus-platform-reference's Introduction

Nexus Platform on Docker

This repo contains docker-compose files associated sample configuration for quickly standing up a number of Reference Architectures for the Nexus Platform components.

Ideal if you want to get hands on quickly :-)

Unless you have a license from Sonatype, you will only be able to use Neuxs Repository OSS.

If you don't have a trial license and would like one contact Sonatype.

What is the Nexus Platform?

When we refer to the Nexus Platform, we actually refer to three of Sonatype's core-products and their associated add-on packs. These are:

  1. Neuxs Repository (either Neuxs Repository OSS or Nexus Repository Pro)
  2. Nexus Lifecycle and it's add-on packs:
  3. Nexus Firewall

For the full suite of products - check out www.sonatype.com.

How does this code work?

We utilise docker-compose profiles to allow you to quickly stand up the required containers to realise a specific refernece architecture.

Assuming you have [Docker Desktop](https:// 19.03.0+ (or similar) installed, you can simply run docker-compose passing the required profile. An example using the proxied profile might be:

docker-compose --profile=proxied up -d

Providing your Sonatype License

For most of the reference architecutres, you'll need a Sonatype license. If you have this, (it's a .lic) file you can use it through one of two methods:

  1. Put your .lic file in config/sonatype-license-all.lic
  2. Modify the path to your .lic file in the .env file:
    NEXUS_LICENSE_PATH=/your/path/to/your-sonatype.lic
    

Reference Architecture Profiles

Profile Name License Required Nexus Platform Nexus Repo Nexus Lifecycle Description
proxied Yes Yes - here Yes here Yes here Both Nexus Repository Pro and Nexus Lifecycle available behind an nGinx reverse proxy.
direct Yes No Yes - here Yes - here Both Nexus Repository Pro and Nexus Lifecycle available directly via localhost addressed over HTTP.
repoOssDemo No No Yes - here No Nexus Repo OSS will be started.
cicd-jenkins Yes Yes - here Yes here Yes here Includes a Jenkins here
cicd-teamcity Yes Yes - here Yes here Yes here Includes a TeamCity Server here

Additional Sub Profiles

The following profiles can be stood up in parallel to the proxied profile to provide further services:

Profile Name Endpoints Description
swagger Swagger Editor, Swagger UI Swagger Editor and Swagger UI

Acknowledgments

This project makes use of the following open source libraries/plugins:

  1. nexus-casc-plugin which is licensed under MIT License and is Copyright 2019 Sven Tschui

License

See LICENSE file for details.

The Fine Print

It is worth noting that this is NOT SUPPORTED by Sonatype, and is a contribution of ours to the open source community (read: you!)

Remember:

  • Use this contribution at the risk tolerance that you have
  • Do NOT file Sonatype support tickets related to this project
  • DO file issues here on GitHub, so that the community can pitch in
  • Phew, that was easier than I thought. Last but not least of all:

Have fun creating and using this utility to quikcly get hands-on with Nexus Repository and Nexus Lifecycle. We are glad to have you here!

nexus-platform-reference's People

Contributors

cmyanko avatar madpah avatar maurycupitt avatar bhamail avatar bfd1964 avatar scherzhaft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.