OLLAMA_BASE_URL=http://ollama:11434

OPENAI_API_BASE_URL=http://litellm:4000/v1
OPENAI_API_KEY=__GENERATE_LITELLM_MASTER_KEY__

# openssl rand -hex 32
WEBUI_SECRET_KEY=__GENERATE_OPENWEBUI_SECRET_KEY__

#HF_HUB_OFFLINE=1
# Disable analytics
SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false

#OPENAI_API_BASE_URL=
#OPENAI_API_KEY=

# Database configuration
DATABASE_URL=postgresql://postgres:__GENERATE_OPENWEBUI_DB_PASSWORD__@openwebui-postgres:5432/openwebui
DATABASE_POOL_SIZE=20
DATABASE_POOL_MAX_OVERFLOW=10
DATABASE_POOL_TIMEOUT=30
DATABASE_POOL_RECYCLE=1800

VECTOR_DB=${VECTOR_DB:-qdrant}
QDRANT_URI=http://qdrant:6333
QDRANT_API_KEY=__GENERATE_QDRANT_API_KEY__

REDIS_URL=redis://:__GENERATE_VALKEY_PASSWORD__@valkey:6379/0
ENABLE_WEBSOCKET_SUPPORT=true
WEBSOCKET_MANAGER=redis
WEBSOCKET_REDIS_URL=redis://:__GENERATE_VALKEY_PASSWORD__@valkey:6379/1?socket_timeout=86400
# Fix issues with redis lib 8.0.0 and openwebUI 0.10.1
WEBSOCKET_REDIS_OPTIONS={"socket_timeout":null}

# Only with stable-diffusion-webui
#ENABLE_IMAGE_GENERATION=true
#AUTOMATIC1111_BASE_URL=http://stable-diffusion-webui:7860
#IMAGE_SIZE=64x64
#IMAGE_STEPS=3
