Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
Add JAVA_TOOL_OPTIONS environment variable to allow setting JVM options.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdenly authored and jeff-knurek committed Feb 12, 2020
1 parent 9eba99e commit 0218c58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN apk add --no-cache --update openjdk8-jre && \
rm -rf /tmp/* /var/cache/apk/*

ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre
ENV JAVA_TOOL_OPTIONS ""
ENV ALLOWED_USER_AGENTS_ON_ROOT_REGEX "GoogleHC"
ENV AUTH_CACHE_TTL "300"
ENV BIND_PORT "8080"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ $ ALLOWED_USER_AGENTS_ON_ROOT_REGEX="GoogleHC" \
| `CLIENT_SECRET` | The abovementioned application's client secret. |
| `CLOUD_IAM_AUTH_ENABLED` | Whether to enable authentication against Google Cloud IAM. |
| `ENFORCE_HTTPS` | Whether to enforce access by HTTPS only. If set to `true` Nexus will only be accessible via HTTPS. |
| `JAVA_TOOL_OPTIONS` | JVM options to provide, for example `-XX:MaxDirectMemorySize=1024M`. |
| `JWT_REQUIRES_MEMBERSHIP_VERIFICATION` | Whether users presenting valid JWT tokens must still be verified for membership within the organization. |
| `KEYSTORE_PATH` | The path to the keystore containing the key with which to sign JWTs. |
| `KEYSTORE_PASS` | The password of the abovementioned keystore. |
Expand Down

0 comments on commit 0218c58

Please sign in to comment.