{"id":19811130,"url":"https://github.com/accenture/adop-nexus","last_synced_at":"2025-10-09T08:09:38.991Z","repository":{"id":141762241,"uuid":"50841873","full_name":"Accenture/adop-nexus","owner":"Accenture","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-11T19:20:08.000Z","size":66,"stargazers_count":7,"open_issues_count":5,"forks_count":43,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-06T11:51:44.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Accenture.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-02-01T13:41:20.000Z","updated_at":"2019-12-13T13:33:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"184e16c6-a3a2-420a-bbca-22075db6db42","html_url":"https://github.com/Accenture/adop-nexus","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fadop-nexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fadop-nexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fadop-nexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fadop-nexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Accenture","download_url":"https://codeload.github.com/Accenture/adop-nexus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251847828,"owners_count":21653582,"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-12T09:24:57.874Z","updated_at":"2025-10-09T08:09:33.965Z","avatar_url":"https://github.com/Accenture.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supported tags and respective Dockerfile links\n\n- [`3.17.0` (*3.17.0/Dockerfile*)](https://github.com/Accenture/adop-nexus/blob/master/Dockerfile)\n\n# What is adop-nexus?\nWe have upgraded the nexus3 version to 3.17.0 and hence this image will enable the features of the latest version. To read more please cclick on the link -\u003e https://books.sonatype.com/nexus-book/3.0/reference/ \n\n![logo](http://blog.sonatype.com/wp-content/uploads/2010/01/nexus-small.png)\n\n# How to use this image?\nWe would recommend to make changes to the provision.sh script in order to add/delete anything as the docker restart would re-set everything as it is according to provision.sh\n\n## Run Nexus\n\nTo start the server, where version is the release version of the Docker container, run the following command.\n    \n      $ docker run -d --name nexus -p 8081:8081 -e LDAP_ENABLED=false accenture/adop-nexus:VERSION\n\nIf LDAP authentication is disabled, the default user/password is:\n  \n  * username: `admin`\n  * password: `admin123`\n \nWe should reset the default password by setting new password value with the configuration variable: `NEXUS_ADMIN_PASSWORD`=\u003cNew_Password\u003e\n## Persisting data\n\nTo persist data mount out the /nexus-data directory.\n\ne.g. $ docker run -d --name nexus -v $(pwd)/data:/nexus-data -p 8081:8081 -e LDAP_ENABLED=false accenture/adop-nexus:VERSION\n\n## LDAP Authentication\n\nBy default, the image will enable LDAP authentication, setting the `LDAP_ENABLED` environment variable to false will disable LDAP authentication. The variables write Nexus through API.\n\nThe default nexus configuration depends on the following LDAP groups\n  * nx-admin - administrators\n  * nx-deployments - deployment users\n  * nx-developers - developer accounts\n\nExample run command:\n\n      $ docker run -ti -p 8080:8081 \\\n         -e LDAP_SEARCH_BASE=dc=example,dc=com \\\n         -e LDAP_ENABLED=true \\\n         -e LDAP_URL=ldap \\\n         -e LDAP_BIND_DN=cn=admin,dc=example,dc=com \\\n         -e LDAP_USER_PASSWORD_ATTRIBUTE=userPassword \\\n         -e LDAP_USER_BASE_DN=ou=people \\ \n         -e LDAP_GROUP_BASE_DN=ou=groups \\ \n         -e LDAP_BIND_PASSWORD=password \\ \n         -e LDAP_NAME=nexusldap \\\n         -e LDAP_AUTH_SCHEME=simple \\\n         accenture/adop-nexus:VERSION\n\nThe image reads the following LDAP environment variables for ADOP OpenLDAP:\n\n  * searchBase - `${LDAP_SEARCH_BASE}`\n  * systemUsername - `${LDAP_BIND_DN}`\n  * systemPassword - `${LDAP_BIND_PASSWORD}`\n  * protocol - `${LDAP_AUTH_PROTOCOL}`\n  * host - `${LDAP_URL}`\n  * port - `${LDAP_PORT:-389}`\n  * emailAddressAttribute - `${LDAP_USER_EMAIL_ATTRIBUTE:-mail}`\n  * ldapGroupsAsRoles - `${LDAP_GROUPS_AS_ROLES:-true}`\n  * groupBaseDn - `${LDAP_GROUP_BASE_DN}`\n  * groupIdAttribute - `${LDAP_GROUP_ID_ATTRIBUTE:-cn}`\n  * groupMemberAttribute - `${LDAP_GROUP_MEMBER_ATTRIBUTE-uniqueMember}`\n  * groupMemberFormat - `${username}`\n  * groupObjectClass - `${LDAP_GROUP_OBJECT_CLASS}`\n  * preferredPasswordEncoding - `${LDAP_PREFERRED_PASSWORD_ENCODING:-crypt}`\n  * userIdAttribute - `${LDAP_USER_ID_ATTRIBUTE:-uid}`\n  * userObjectClass - `${LDAP_USER_OBJECT_CLASS:-inetOrgPerson}`\n  * userBaseDn - `${LDAP_USER_BASE_DN}`\n  * userRealNameAttribute - `${LDAP_USER_REAL_NAME_ATTRIBUTE:-cn}`\n\nAdditionally, the image reads the following LDAP environment variables if you want to use a Windows Active Directory:\n\n  * groupIdAttribute - `${LDAP_GROUP_ID_ATTRIBUTE:-cn}`\n  * groupMemberAttribute - `${LDAP_GROUP_MEMBER_ATTRIBUTE-uniqueMember}`\n  * groupObjectClass - `${LDAP_GROUP_OBJECT_CLASS:-groups}`\n  * userIdAttribute - `${LDAP_USER_ID_ATTRIBUTE:-sAMAccountName}`\n  * userObjectClass - `${LDAP_USER_OBJECT_CLASS:-person}`\n  * userBaseDn - `${LDAP_USER_BASE_DN}`\n  * userRealNameAttribute - `${LDAP_USER_REAL_NAME_ATTRIBUTE:-cn}`\n\n\u003e [Sonatype/Nexus/plugin/LDAP/Documentation](https://books.sonatype.com/nexus-book/reference/ldap.html)\n\n## Other configuration variables\n\n * `NEXUS_CONTEXT`, passed as -Dnexus-webapp-context-path. This is used to define the URL which Nexus is accessed.\n * `DEBUG_LOGGING`, defaults to false. If this is set to true, additional debug/access logs are enabled and sent to stdout/specified logging driver.\n * `MAX_HEAP`, passed as -Xmx. Defaults to 1g.\n * `MIN_HEAP`, passed as -Xms. Defaults to 256m.\n * `JAVA_OPTS`. Additional options can be passed to the JVM via this variable. Default: -server -XX:MaxPermSize=192m -Djava.net.preferIPv4Stack=true.\n * `NEXUS_BASE_URL`, the nexus base URL\n * `NEXUS_PROXY_HOST`, the proxy server that connects to Maven public repository. This is used if the Nexus Docker host has strict firewall implementation.\n * `NEXUS_PROXY_PORT`, the proxy server port.\n * `NEXUS_CENTRAL_REPO_URL`, if you want to change the Central Repo default maven public repository https://repo1.maven.org/maven2/\n * `NEXUS_CREATE_CUSTOM_ROLES`, if set to true, create custom roles according to the environment custom role variables:.\n * `NEXUS_CUSTOM_ADMIN_ROLE` , if set, create a custom group name with nx-admin role.\n * `NEXUS_CUSTOM_DEV_ROLE` , if set, create a custom group name with nx-developer role.\n * `NEXUS_CUSTOM_DEPLOY_ROLE`, if set, create a custom group name with nx-deployment role.\n * `USER_AGENT`, if set, you can enable Basic Authentication. [How do I enable WWW-Authenticate headers for content 401 responses]\n (https://support.sonatype.com/hc/en-us/articles/213465078-How-do-I-enable-WWW-Authenticate-headers-for-content-401-responses)\n \n # JMX Monitoring\nIt is possible to leverage JMX monitoring of Nexus if so desired. This requires launching Nexus with several JVM options\nwrapped into an env variable INSTALL4J_ADD_VM_PARAMS (https://github.com/sonatype/docker-nexus3/blob/master/README.md#notes)\nBasic authentication is supported.\n\nDefault password is adopnexusjmx. This can be changed using an environment variable NEXUS_JMX_PASSWORD.\n\nExample launch with JMX with auth enabled:\n\n      $ docker run -d -p 8081:8081 \\\n         --name nexus \\\n         -e NEXUS_JMX_PASSWORD=\"topsecret\" \\\n         -e INSTALL4J_ADD_VM_PARAMS=\"-Xms1200m -Xmx1200m -XX:MaxDirectMemorySize=2g -Djava.util.prefs.userRoot=${NEXUS_DATA}/javaprefs -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=15666 -Dcom.sun.management.jmxremote.rmi.port=15666 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=/resources/jmxremote.password -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost\" \\\n         accenture/adop-nexus\n \n# License\nPlease view [licence information](LICENCE.md) for the software contained on this image.\n\n# Supported Docker versions\n\nThis image is officially supported on Docker version 18.09.4.\nSupport for older versions (down to 1.9) is provided on a best-effort basis.\n\n# User feedback\n\n## Documentation\nDocumentation for this image is available in the [Sonatype/Nexus/Documentation](https://books.sonatype.com/nexus-book/reference/). \nAdditional documentaion can be found under the [`docker-library/docs` GitHub repo](https://github.com/docker-library/docs). Be sure to familiarize yourself with the [repository's `README.md` file](https://github.com/docker-library/docs/blob/master/README.md) before attempting a pull request.\n\n## Issues\nIf you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/Accenture/adop-nexus/issues).\n\n## Contribute\nYou are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.\n\nBefore you start to code, we recommend discussing your plans through a [GitHub issue](https://github.com/Accenture/adop-nexus/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccenture%2Fadop-nexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccenture%2Fadop-nexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccenture%2Fadop-nexus/lists"}