- Add SEARXNG_HOST config with localhost:8087 default - Add SEARXNG_TIMEOUT setting (30 seconds default) - Update .env.example with SearXNG configuration - Supports both local and production SearXNG instances
26 lines
459 B
Bash
26 lines
459 B
Bash
# Application Configuration
|
|
APP_NAME="OpenAI-Compatible API"
|
|
APP_VERSION="0.1.0"
|
|
ENVIRONMENT=development
|
|
DEBUG=false
|
|
|
|
# API Configuration
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8000
|
|
API_PREFIX=/v1
|
|
|
|
# Ollama Configuration
|
|
OLLAMA_HOST=http://your-ollama-host:11434
|
|
OLLAMA_DEFAULT_MODEL=mistral-nemo:latest
|
|
OLLAMA_TIMEOUT=120
|
|
|
|
# SearXNG Configuration
|
|
SEARXNG_HOST=http://searxng:8087
|
|
SEARXNG_TIMEOUT=30
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
|
|
# CORS (comma-separated list)
|
|
CORS_ORIGINS=*
|