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