Sign inSign up

salte/nexus3

By salte

Updated almost 6 years ago

Extends the Sonatype nexus3 Docker image by enabling HTTPS with user-specific TLS certificates.

Image
0

618

salte/nexus3 repository overview

Typical Usage Scenario:

$ docker run --name=nexus3
                     --restart=always
                     --detach
                     --volume=/usr/local/share/docker/certificates:/usr/local/share
                     --volume=nexus3-data:/nexus-data
                     --publish=8081:8081
                     --publish=8443:8443
                     --publish=7443:7443
                     --publish=7444:7444
                     -e PUBLIC_CERTIFICATE=/usr/local/share/cert.crt
                     -e PRIVATE_KEY=/usr/local/share/cert.key
                     -e PRIVATE_KEY_PASSWORD=mypassword
                     -e SSL_PORT=8443
                     -e NEXUS_BASE=/opt/sonatype/nexus
                     salte/nexus3
ParameterDescription
nameThe name you want assigned to the running container.
restart=alwaysAlways restart the container regardless of the exit status. When you specify always, the Docker daemon will try to restart the container indefinitely. The container will also always start on daemon startup, regardless of the current state of the container.
detachRun container in the background.
volume=/usr/local...Map host location containing certificates to /usr/local/share within the container.
volume=nexus3-data...Map named volume to /nexus-data within the container to persist data even if the container itself is deleted.
--publish=8081:8081Expose non-SSL port used to access web user interface and for typical repository interactions.

Tag summary

Content type

Image

Digest

Size

327.3 MB

Last updated

almost 6 years ago

docker pull salte/nexus3