Skip to content

Commit 4cc891c

Browse files
committed
add VM options
1 parent 33fb659 commit 4cc891c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy/docker/api-service/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ exec gosu ${USER_ID}:${GROUP_ID} ${JAVA_HOME}/bin/java \
3030
-Dhttps.protocols=TLSv1.1,TLSv1.2 \
3131
-Dlog4j2.formatMsgNoLookups=true \
3232
-Dspring.config.location="file:///openblocks/api-service/config/application.yml,file:///openblocks/api-service/config/application-selfhost.yml" \
33+
--add-opens java.base/java.nio=ALL-UNNAMED \
3334
${JAVA_OPTS} \
3435
-jar "${APP_JAR}" --spring.webflux.base-path=${CONTEXT_PATH} ${CUSTOM_APP_PROPERTIES}
3536

0 commit comments

Comments
 (0)