Browse Source

1. performance tuning

master
Richard Shih 6 years ago
parent
commit
49299ee867
1 changed files with 1 additions and 0 deletions
  1. 1
      zkweb/build.gradle

1
zkweb/build.gradle

@ -36,6 +36,7 @@ task createDockerFile(type: Dockerfile,dependsOn: prepareDockerBuild){
destFile=project.file("${buildDir}/docker/Dockerfile")
from "${baseImgName}:${baseImgTag}"
label(['Maintainer':'richard_shih@wanhai.com'])
environmentVariable('JAVA_OPTS','-Xms64m -Xmx384m -XX:MetaspaceSize=64M -XX:MaxMetaspaceSize=128m -XX:MaxDirectMemorySize=512m -XX:+UseParallelGC -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true')
copyFile "$war.archiveName",'${JBOSS_HOME}/standalone/deployments'
}

Loading…
Cancel
Save