We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5d1d27 + 4279f57 commit 13eeebaCopy full SHA for 13eeeba
1 file changed
Dockerfile
@@ -41,11 +41,13 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \
41
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1
42
43
# 실행
44
-ENTRYPOINT ["java", \
45
- "-XX:+UseContainerSupport", \
46
- "-Xms128m", \
47
- "-Xmx256m", \
48
- "-Duser.timezone=Asia/Seoul", \
49
- "-Djava.security.egd=file:/dev/./urandom", \
50
- "-jar", \
51
- "app.jar"]
+ENTRYPOINT ["java",
+ "-XX:+UseContainerSupport",
+ "-XX:MaxRAMPercentage=60.0",
+ "-XX:InitialRAMPercentage=40.0",
+ "-Xss512k",
+ "-Duser.timezone=Asia/Seoul",
+ "-Djava.security.egd=file:/dev/./urandom",
+ "-jar",
52
+ "app.jar"
53
+]
0 commit comments