Files

32 lines
996 B
Bash
Raw Permalink Normal View History

2023-12-04 23:17:51 -08:00
# Ollama URL for the backend to connect
2024-03-06 11:44:00 -08:00
# The path '/ollama' will be redirected to the specified backend URL
OLLAMA_BASE_URL='http://localhost:11434'
2024-01-04 18:38:03 -08:00
OPENAI_API_BASE_URL=''
2024-02-09 18:11:01 -08:00
OPENAI_API_KEY=''
2024-02-21 18:36:40 -08:00
# AUTOMATIC1111_BASE_URL="http://localhost:7860"
2025-06-08 15:17:08 +02:00
# For production, you should only need one host as
# fastapi serves the svelte-kit built frontend and backend from the same host and port.
# To test with CORS locally, you can set something like
# CORS_ALLOW_ORIGIN='http://localhost:5173;http://localhost:8080'
CORS_ALLOW_ORIGIN='*'
# For production you should set this to match the proxy configuration (127.0.0.1)
FORWARDED_ALLOW_IPS='*'
2024-02-09 18:11:01 -08:00
# DO NOT TRACK
SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false
# Valkey Vector Store (requires VECTOR_DB=valkey)
# VALKEY_URL='valkey://localhost:6379'
# VALKEY_COLLECTION_PREFIX='open_webui'
# VALKEY_INDEX_TYPE='HNSW'
# VALKEY_DISTANCE_METRIC='COSINE'
# VALKEY_HNSW_M='16'
# VALKEY_HNSW_EF_CONSTRUCTION='200'
# VALKEY_HNSW_EF_RUNTIME='10'