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
@@ -11,9 +11,9 @@ TZ=UTC
OPEN_WEBUI_PORT_OVERRIDE=8080
# Resource Limits
OPEN_WEBUI_CPU_LIMIT=1
OPEN_WEBUI_CPU_LIMIT=1.0
OPEN_WEBUI_MEMORY_LIMIT=1024M
OPEN_WEBUI_CPU_RESERVATION=0.5
OPEN_WEBUI_CPU_RESERVATION=0.1
OPEN_WEBUI_MEMORY_RESERVATION=512M
# OpenAI API Configuration (optional)
@@ -24,4 +24,4 @@ OPEN_WEBUI_MEMORY_RESERVATION=512M
# ENABLE_OLLAMA_API=true
# WebUI URL (optional, for external access configuration)
# WEBUI_URL=
# WEBUI_URL=
+2 -2
View File
@@ -22,10 +22,10 @@ services:
deploy:
resources:
limits:
cpus: ${OPEN_WEBUI_CPU_LIMIT:-1}
cpus: ${OPEN_WEBUI_CPU_LIMIT:-1.0}
memory: ${OPEN_WEBUI_MEMORY_LIMIT:-1024M}
reservations:
cpus: ${OPEN_WEBUI_CPU_RESERVATION:-0.5}
cpus: ${OPEN_WEBUI_CPU_RESERVATION:-0.1}
memory: ${OPEN_WEBUI_MEMORY_RESERVATION:-512M}
volumes: