Skip to content

Commit

Permalink
fix: update-env.sh now injects JAVA_OPTS params (#245)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Peterson <[email protected]>
  • Loading branch information
mattp-swirldslabs authored Oct 10, 2024
1 parent d55321f commit dca9566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/docker/update-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ echo "VERSION=$1" > .env
echo "REGISTRY_PREFIX=" >> .env
# Storage root path, this is temporary until we have a proper .properties file for all configs
echo "BLOCKNODE_STORAGE_ROOT_PATH=/app/storage" >> .env
echo "JAVA_OPTS='-Xms8G -Xmx16G'" >> .env

if [ $# -eq 2 ]; then
echo "SERVER_OPTS='-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005'" >> .env
Expand Down

0 comments on commit dca9566

Please sign in to comment.