# Mana Search Service Environment Variables

# Server
PORT=3021
NODE_ENV=development

# SearXNG
SEARXNG_URL=http://localhost:8080
SEARXNG_TIMEOUT=15000
SEARXNG_DEFAULT_LANGUAGE=de-DE
SEARXNG_SECRET=change-me-in-production

# Redis
REDIS_HOST=localhost
REDIS_PORT=6380
REDIS_PASSWORD=

# Cache TTL (seconds)
CACHE_SEARCH_TTL=3600
CACHE_EXTRACT_TTL=86400

# Content Extraction
EXTRACT_TIMEOUT=10000
EXTRACT_MAX_LENGTH=50000
EXTRACT_USER_AGENT=Mozilla/5.0 (compatible; ManaSearchBot/1.0; +https://mana.how)

# CORS (comma-separated origins)
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8081
