# Trouve-KA — variables d'environnement (exemple, sans secrets) # Author: Simon-Pierre Boucher # Contact: contact@spboucher.ai # --- Bases de données --- DATABASE_URL=postgresql://trouveka:trouveka@localhost:5432/trouveka REDIS_URL=redis://localhost:6379/0 SEARCH_URL=http://localhost:9200 # --- Crawler --- CRAWLER_USER_AGENT="Mozilla/5.0 (compatible; TrouveKABot/0.1; +https://www.trouve-ka.com/trouveka-bot)" CRAWLER_CONTACT_URL=https://www.trouve-ka.com/trouveka-bot MAX_GLOBAL_CONCURRENCY=24 MAX_PER_HOST_CONCURRENCY=2 DEFAULT_HOST_DELAY=2.0 MAX_RESPONSE_BYTES=3000000 MAX_REDIRECTS=5 FETCH_TIMEOUT=20 MAX_CRAWL_DEPTH=8 MAX_LINKS_PER_PAGE=300 MAX_URLS_PER_DOMAIN=5000 # --- API --- API_HOST=0.0.0.0 API_PORT=8080 ADMIN_TOKEN=change-me-admin-token # --- Web --- PUBLIC_URL=https://www.trouve-ka.com NGROK_DOMAIN=www.trouve-ka.com API_URL=http://localhost:8080 # --- Index --- SEARCH_INDEX=trouveka-docs