This commit is contained in:
wangliwen 2022-12-28 09:41:37 +08:00
parent f109b1b481
commit abdc3edfa0
1 changed files with 1 additions and 1 deletions

View File

@ -16,4 +16,4 @@ HEALTHCHECK --interval=3m --timeout=3s --start-period=3m --retries=5 CMD curl --
WORKDIR $VERTICLE_HOME/renren-admin WORKDIR $VERTICLE_HOME/renren-admin
ENTRYPOINT ["sh", "-c"] ENTRYPOINT ["sh", "-c"]
CMD ["exec java -jar -Dfile.encoding=utf-8 -server -Xshareclasses -Xtune:virtualized -Xms$Xms -Xmx$Xmx -Dlogback.configurationFile=$VERTICLE_HOME/renren-admin/config/logback-spring.xml -XX:ReservedCodeCacheSize=240m -XX:InitialCodeCacheSize=240m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=1 -XX:ParallelGCThreads=2 -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 -Duser.timezone=GMT+08 $VERTICLE_HOME/renren-admin/$JAR_FILE --spring.profiles.active=$ACTIVE"] CMD ["exec java -jar -Dfile.encoding=utf-8 -server -Xshareclasses -Xtune:virtualized -Xms$Xms -Xmx$Xmx -Dspring.config.location=$VERTICLE_HOME/renren-admin/config/ -Dlogback.configurationFile=$VERTICLE_HOME/renren-admin/config/logback-spring.xml -XX:ReservedCodeCacheSize=240m -XX:InitialCodeCacheSize=240m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=1 -XX:ParallelGCThreads=2 -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 -Duser.timezone=GMT+08 $VERTICLE_HOME/renren-admin/$JAR_FILE --spring.profiles.active=$ACTIVE"]