update
This commit is contained in:
parent
cf08d8ecef
commit
67cbf36640
@ -16,5 +16,5 @@ services:
|
||||
restart: always
|
||||
mem_limit: 10G # 设置容器的内存限制为 10GB
|
||||
memswap_limit: 10G # 禁止使用 swap,并确保总内存不超过 10GB
|
||||
oom_score_adj: -1000
|
||||
# oom_score_adj: -1000
|
||||
stop_grace_period: 120s # 设置关闭宽限期为 120 秒
|
||||
|
Loading…
Reference in New Issue
Block a user