fix(compose): remove conflicting mem_limit, consolidate to deploy.resources.limits
Deploy / Deploy Staging (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Production (push) Failing after 245h20m33s
Deploy / Build Production Runtime Images (push) Failing after 245h36m44s

This commit is contained in:
2026-06-29 04:18:41 +08:00
parent c47e4769ed
commit d3fce20921
+2 -2
View File
@@ -72,11 +72,11 @@ services:
# =========================================
# 资源限制建议(生产环境建议启用)
# =========================================
mem_limit: 2g
deploy:
resources:
limits:
cpus: '2.0'
memory: 2g
reservations:
cpus: '0.5'
memory: 512M
@@ -112,11 +112,11 @@ services:
# 资源限制建议(生产环境建议启用)
# =========================================
# 注意: Worker 需要处理视频,建议分配更多资源
mem_limit: 2g
deploy:
resources:
limits:
cpus: '2.0'
memory: 2g
reservations:
cpus: '0.5'
memory: 1G