Skip to content

Commit

Permalink
#344 - Make JVM options in Dockerimage configurable
Browse files Browse the repository at this point in the history
- add $JAVA_OPTS env variable to java call in docker-entrypoint.sh
  • Loading branch information
michael-82 committed Aug 29, 2024
1 parent c1d5030 commit 94b4adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ if [ ! "${#ca_files[@]}" -eq 0 ]; then

done

java -Djavax.net.ssl.trustStore="$TRUSTSTORE_FILE" -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASS" -jar feasibility-gui-backend.jar
java $JAVA_OPTS -Djavax.net.ssl.trustStore="$TRUSTSTORE_FILE" -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASS" -jar feasibility-gui-backend.jar
else
echo "# No CA *.pem cert files found in /opt/codex-feasibility-backend/certs -> starting feasibility backend without own CAs"
java -jar feasibility-gui-backend.jar
java $JAVA_OPTS -jar feasibility-gui-backend.jar
fi

0 comments on commit 94b4adf

Please sign in to comment.