feat: all cpus reservations to 0.1
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user