https://github.com/accenture/adop-nexus
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Accenture
- License: apache-2.0
- Language: Shell
- Default Branch: master
- Size: 64.5 KB
Statistics
- Stars: 7
- Watchers: 11
- Forks: 43
- Open Issues: 5
- Releases: 11
Metadata Files
README.md
Supported tags and respective Dockerfile links
What is adop-nexus?
We 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 -> https://books.sonatype.com/nexus-book/3.0/reference/

How to use this image?
We 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
Run Nexus
To start the server, where version is the release version of the Docker container, run the following command.
$ docker run -d --name nexus -p 8081:8081 -e LDAP_ENABLED=false accenture/adop-nexus:VERSION
If LDAP authentication is disabled, the default user/password is:
- username:
admin - password:
admin123
We should reset the default password by setting new password value with the configuration variable: NEXUS_ADMIN_PASSWORD=
Persisting data
To persist data mount out the /nexus-data directory.
e.g. $ docker run -d --name nexus -v $(pwd)/data:/nexus-data -p 8081:8081 -e LDAP_ENABLED=false accenture/adop-nexus:VERSION
LDAP Authentication
By 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.
The default nexus configuration depends on the following LDAP groups * nx-admin - administrators * nx-deployments - deployment users * nx-developers - developer accounts
Example run command:
$ docker run -ti -p 8080:8081 \
-e LDAP_SEARCH_BASE=dc=example,dc=com \
-e LDAP_ENABLED=true \
-e LDAP_URL=ldap \
-e LDAP_BIND_DN=cn=admin,dc=example,dc=com \
-e LDAP_USER_PASSWORD_ATTRIBUTE=userPassword \
-e LDAP_USER_BASE_DN=ou=people \
-e LDAP_GROUP_BASE_DN=ou=groups \
-e LDAP_BIND_PASSWORD=password \
-e LDAP_NAME=nexusldap \
-e LDAP_AUTH_SCHEME=simple \
accenture/adop-nexus:VERSION
The image reads the following LDAP environment variables for ADOP OpenLDAP:
- searchBase -
${LDAP_SEARCH_BASE} - systemUsername -
${LDAP_BIND_DN} - systemPassword -
${LDAP_BIND_PASSWORD} - protocol -
${LDAP_AUTH_PROTOCOL} - host -
${LDAP_URL} - port -
${LDAP_PORT:-389} - emailAddressAttribute -
${LDAP_USER_EMAIL_ATTRIBUTE:-mail} - ldapGroupsAsRoles -
${LDAP_GROUPS_AS_ROLES:-true} - groupBaseDn -
${LDAP_GROUP_BASE_DN} - groupIdAttribute -
${LDAP_GROUP_ID_ATTRIBUTE:-cn} - groupMemberAttribute -
${LDAP_GROUP_MEMBER_ATTRIBUTE-uniqueMember} - groupMemberFormat -
${username} - groupObjectClass -
${LDAP_GROUP_OBJECT_CLASS} - preferredPasswordEncoding -
${LDAP_PREFERRED_PASSWORD_ENCODING:-crypt} - userIdAttribute -
${LDAP_USER_ID_ATTRIBUTE:-uid} - userObjectClass -
${LDAP_USER_OBJECT_CLASS:-inetOrgPerson} - userBaseDn -
${LDAP_USER_BASE_DN} - userRealNameAttribute -
${LDAP_USER_REAL_NAME_ATTRIBUTE:-cn}
Additionally, the image reads the following LDAP environment variables if you want to use a Windows Active Directory:
- groupIdAttribute -
${LDAP_GROUP_ID_ATTRIBUTE:-cn} - groupMemberAttribute -
${LDAP_GROUP_MEMBER_ATTRIBUTE-uniqueMember} - groupObjectClass -
${LDAP_GROUP_OBJECT_CLASS:-groups} - userIdAttribute -
${LDAP_USER_ID_ATTRIBUTE:-sAMAccountName} - userObjectClass -
${LDAP_USER_OBJECT_CLASS:-person} - userBaseDn -
${LDAP_USER_BASE_DN} - userRealNameAttribute -
${LDAP_USER_REAL_NAME_ATTRIBUTE:-cn}
Other configuration variables
NEXUS_CONTEXT, passed as -Dnexus-webapp-context-path. This is used to define the URL which Nexus is accessed.DEBUG_LOGGING, defaults to false. If this is set to true, additional debug/access logs are enabled and sent to stdout/specified logging driver.MAX_HEAP, passed as -Xmx. Defaults to 1g.MIN_HEAP, passed as -Xms. Defaults to 256m.JAVA_OPTS. Additional options can be passed to the JVM via this variable. Default: -server -XX:MaxPermSize=192m -Djava.net.preferIPv4Stack=true.NEXUS_BASE_URL, the nexus base URLNEXUS_PROXY_HOST, the proxy server that connects to Maven public repository. This is used if the Nexus Docker host has strict firewall implementation.NEXUS_PROXY_PORT, the proxy server port.NEXUS_CENTRAL_REPO_URL, if you want to change the Central Repo default maven public repository https://repo1.maven.org/maven2/NEXUS_CREATE_CUSTOM_ROLES, if set to true, create custom roles according to the environment custom role variables:.NEXUS_CUSTOM_ADMIN_ROLE, if set, create a custom group name with nx-admin role.NEXUS_CUSTOM_DEV_ROLE, if set, create a custom group name with nx-developer role.NEXUS_CUSTOM_DEPLOY_ROLE, if set, create a custom group name with nx-deployment role.USER_AGENT, if set, you can enable Basic Authentication. How do I enable WWW-Authenticate headers for content 401 responses
# JMX Monitoring It is possible to leverage JMX monitoring of Nexus if so desired. This requires launching Nexus with several JVM options wrapped into an env variable INSTALL4JADDVM_PARAMS (https://github.com/sonatype/docker-nexus3/blob/master/README.md#notes) Basic authentication is supported.
Default password is adopnexusjmx. This can be changed using an environment variable NEXUSJMXPASSWORD.
Example launch with JMX with auth enabled:
$ docker run -d -p 8081:8081 \
--name nexus \
-e NEXUS_JMX_PASSWORD="topsecret" \
-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" \
accenture/adop-nexus
License
Please view licence information for the software contained on this image.
Supported Docker versions
This image is officially supported on Docker version 18.09.4. Support for older versions (down to 1.9) is provided on a best-effort basis.
User feedback
Documentation
Documentation for this image is available in the Sonatype/Nexus/Documentation.
Additional documentaion can be found under the docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository's README.md file before attempting a pull request.
Issues
If you have any problems with or questions about this image, please contact us through a GitHub issue.
Contribute
You 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.
Before you start to code, we recommend discussing your plans through a GitHub issue, 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.
Owner
- Name: Accenture
- Login: Accenture
- Kind: organization
- Website: https://accenture.github.io
- Repositories: 185
- Profile: https://github.com/Accenture
Accenture Github site
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 4
- Total pull requests: 21
- Average time to close issues: over 1 year
- Average time to close pull requests: 4 months
- Total issue authors: 4
- Total pull request authors: 14
- Average comments per issue: 1.25
- Average comments per pull request: 2.29
- Merged pull requests: 14
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- davidjeddy (1)
- adamclerk (1)
- bzon (1)
- kristapsm (1)
Pull Request Authors
- marisbahtins (3)
- SachinKSingh28 (2)
- dsingh07 (2)
- NkolasN (2)
- marcispauls (1)
- ju-la-berger (1)
- mihail-dev (1)
- lykabernardo (1)
- LeeEdwardDavie (1)
- bzon (1)
- wanerliang (1)
- usualstuff (1)
- davidjeddy (1)
- vcerny (1)