{"id":18579249,"url":"https://github.com/faust64/docker-nexus","last_synced_at":"2025-05-16T02:30:19.489Z","repository":{"id":76091439,"uuid":"211880929","full_name":"faust64/docker-nexus","owner":"faust64","description":"Migrated to https://gitlab.com/synacksynack/opsperator/docker-nexus","archived":false,"fork":false,"pushed_at":"2021-08-11T05:36:09.000Z","size":99,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T15:51:48.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faust64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-30T14:35:43.000Z","updated_at":"2021-08-11T05:38:02.000Z","dependencies_parsed_at":"2023-05-22T11:00:22.557Z","dependency_job_id":null,"html_url":"https://github.com/faust64/docker-nexus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-nexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-nexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-nexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-nexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faust64","download_url":"https://codeload.github.com/faust64/docker-nexus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254455601,"owners_count":22074014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T23:39:38.061Z","updated_at":"2025-05-16T02:30:19.446Z","avatar_url":"https://github.com/faust64.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexus\n\nWARNING: this repository is no longer maintained! As it was migrated to GitLab:\nhttps://gitlab.com/synacksynack/opsperator/docker-nexus\n\n(historically based on https://github.com/Accenture/adop-nexus)\n\nBuild with:\n\n```\n$ make build\n```\n\nTest locally:\n\n```\n$ make run\n```\n\nEnvironment variables and volumes\n----------------------------------\n\nThe image recognizes the following environment variables that you can set during\ninitialization by passing `-e VAR=VALUE` to the Docker `run` command.\n\n|    Variable name                     |    Description                   | Default                                                     |\n| :----------------------------------- | -------------------------------- | ----------------------------------------------------------- |\n|  `NEXUS_ADMIN_PASSWORD`              | Nexus Admin Password             | `admin123`                                                  |\n|  `NEXUS_ARTIFACTS_SERVICE_PASSWORD`  | Nexus Jenkins-Artifacts Password | undef                                                       |\n|  `NEXUS_BLOB_STORES`                 | Blob Stores to Provision         | undef                                                       |\n|  `NEXUS_DEPLOYER_SERVICE_PASSWORD`   | Nexus Jenkins-Deployer Password  | undef                                                       |\n|  `NEXUS_JENKINS_ARTIFACTS_ACCOUNT`   | Nexus Jenkins-Artifacts Account  | undef                                                       |\n|  `NEXUS_JENKINS_DEPLOYER_ACCOUNT`    | Nexus Jenkins-Deployer Account   | undef                                                       |\n|  `NEXUS_PROMETHEUS_ACCOUNT`          | Nexus Prometheus Account         | undef                                                       |\n|  `NEXUS_PROMETHEUS_SERVICE_PASSWORD` | Nexus Prometheus Password        | undef                                                       |\n|  `NEXUS_REPOSITORIES`                | Repositories to Provision        | undef                                                       |\n|  `OPENLDAP_BASE`                     | OpenLDAP Base                    | seds `OPENLDAP_DOMAIN`, default produces `dc=demo,dc=local` |\n|  `OPENLDAP_BIND_DN_RREFIX`           | OpenLDAP Bind DN Prefix          | `cn=nexus,ou=service`                                       |\n|  `OPENLDAP_BIND_PW`                  | OpenLDAP Bind Password           | `secret`                                                    |\n|  `OPENLDAP_DOMAIN`                   | OpenLDAP Domain Name             | `demo.local`                                                |\n|  `OPENLDAP_GROUP_MAPPINGS`           | Maps LDAP Group to Nexus Role    | `Admins,nx-admin All,nx-anonymous`                          |\n|  `OPENLDAP_HOST`                     | OpenLDAP Backend Address         | `127.0.0.1`                                                 |\n|  `OPENLDAP_PORT`                     | OpenLDAP Bind Port               | `389` or `636` depending on `OPENLDAP_PROTO`                |\n|  `OPENLDAP_PROTO`                    | OpenLDAP Proto                   | `ldap`                                                      |\n|  `OPENLDAP_USERS_OBJECTCLASS`        | OpenLDAP Users ObjectClass       | `inetOrgPerson`                                             |\n\nProvisioning\n-------------\n\nRepositories provisioning is a work in progress. I stuck to the few use cases\nthat matter for me, though there's a lot of stuff I did not implement.\nSo far, we may pass a list (space separated) of repository definitions (pipe\nseparated), ... which makes it quite impractical and ugly, ... of repositories\nto provision. Valid combinations may include:\n\n```\nNEXUS_RERPOSITORIES=\"\n    my-npm-proxy|npm|proxy|https://registry.npmjs.org|npmblob\n    my-npm-hosted|npm|hosted|npmblob\n    my-apt-proxy|apt|proxy|https://ftp.debian.org|buster|aptblob\n    my-apt-hosted|apt|hosted|keyring|passphrase|buster|aptblob\n    my-dkr-http-proxy|docker|proxy|https://docker.io|5001||dkrblob\n    my-dkr-https-hosted|docker|hosted|5002|yes|dkrblob\n    my-dkr-http-nolistener|docker|hosted|||dkrblob\n    my-raw|raw|hosted|default\"\n```\n\nBlob stores would need to be provisioned as well - and bear in mind the API\ndoes allow to create repositories whose blob store does not exist:\n\n```\nNEXUS_BLOB_STORES=\"\n    s3blobstore|s3-acces-key|s3-secret-key|s3-bucket|http://radosgw:8080|us-east-1\n    npmblob aptblob dkrblob\"\n```\n\nYou can also set the following mount points by passing the `-v /host:/container` flag to Docker.\n\n|  Volume mount point    | Description              |\n| :--------------------- | ------------------------ |\n|  `/nexus`              | Nexus Persisting Data    |\n|  `/certs`              | Nexus CAs to load        |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaust64%2Fdocker-nexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaust64%2Fdocker-nexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaust64%2Fdocker-nexus/lists"}