提交 e24b6811 authored 作者: 任建彩's avatar 任建彩

配置

上级 93cf9c8e
......@@ -33,10 +33,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 512M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......@@ -53,10 +53,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 512M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......@@ -73,10 +73,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 512M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......@@ -95,10 +95,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 2048M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......@@ -115,10 +115,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 512M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......@@ -136,10 +136,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 1024M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 512M
networks:
- lemon
......@@ -156,10 +156,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 512M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......@@ -176,10 +176,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 1024M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 512M
networks:
- lemon
......@@ -196,10 +196,10 @@ services:
deploy:
resources:
limits:
#cpus: '0.05' # 上限 单核5% 网关根据使用调整大小
#cpus: '0.05' # 涓婇檺 鍗曟牳5% 缃戝叧鏍规嵁浣跨敤璋冩暣澶у皬
memory: 512M
reservations:
#cpus: '0.01' # 下限
#cpus: '0.01' # 涓嬮檺
memory: 256M
networks:
- lemon
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论