feat: all cpus reservations to 0.1

This commit is contained in:
Sun-ZhenXing
2026-05-14 16:22:07 +08:00
parent 453a3eab11
commit 53b841926e
274 changed files with 828 additions and 828 deletions
+3 -3
View File
@@ -24,10 +24,10 @@ PINGORA_DASHBOARD_PORT_OVERRIDE=81
PINGORA_HTTPS_PORT_OVERRIDE=443
# Resource limits
PINGORA_CPU_LIMIT=2.00
PINGORA_CPU_LIMIT=2.0
PINGORA_MEMORY_LIMIT=512M
PINGORA_CPU_RESERVATION=0.50
PINGORA_CPU_RESERVATION=0.1
PINGORA_MEMORY_RESERVATION=256M
# Optional: Global registry prefix (e.g., registry.example.com/)
# GLOBAL_REGISTRY=
# GLOBAL_REGISTRY=
@@ -34,10 +34,10 @@ services:
deploy:
resources:
limits:
cpus: '${PINGORA_CPU_LIMIT:-2.00}'
cpus: '${PINGORA_CPU_LIMIT:-2.0}'
memory: '${PINGORA_MEMORY_LIMIT:-512M}'
reservations:
cpus: '${PINGORA_CPU_RESERVATION:-0.50}'
cpus: '${PINGORA_CPU_RESERVATION:-0.1}'
memory: '${PINGORA_MEMORY_RESERVATION:-256M}'
# Security hardening
cap_drop: