dockersecureimages / nexus3

Nexus3 docker secure image
0 stars 0 forks source link

NEXUS_CONTEXT environment variable does not set nexus-context-path #1

Closed 0xShkk closed 1 year ago

0xShkk commented 3 years ago

In the original sonatype container, there is an environment variable NEXUS_CONTEXT that can be set at runtime, which sets the value for nexus-context-path. This is very helpful to easily change the webserver root dir where the frontend is served.

In this container, the environment variable does not set the nexus-context-path in etc/nexus.properties unfortunately and it is therefore not so easy to control the jetty webserver root.