This commit is contained in:
Zengtudor 2024-11-18 12:05:22 +08:00
parent 73c4920a24
commit 46dd9fcd3b

View File

@ -16,6 +16,8 @@ services:
stdin_open: true stdin_open: true
tty: true tty: true
restart: always restart: always
memswap_limit: 10G
mem_limit: 10G
# java -Xmx${MAX_MEMORY} -Xms${MIN_MEMORY} -jar ${JAR_FILE} nogui # java -Xmx${MAX_MEMORY} -Xms${MIN_MEMORY} -jar ${JAR_FILE} nogui
# mem_limit: 11g # mem_limit: 11g
# memswap_limit: 11g # 禁止使用 swap # memswap_limit: 11g # 禁止使用 swap