.env.example 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # Copier ce fichier en .env et remplir les valeurs
  2. # cp .env.example .env
  3. # DEBUG=1 : mode debug (Flask debug, scraping limité à 15 URLs) | DEBUG=0 : production (pas de limite URLs)
  4. # DEBUG=0
  5. SECRET_KEY=votre-secret-key-changez-en-production
  6. # PostgreSQL: postgresql://postgres:postgres@localhost:5432/agent
  7. # SQLite (plus simple): sqlite:///agent.db
  8. DATABASE_URL=sqlite:///agent.db
  9. FLASK_ENV=production
  10. OLLAMA_HOST=http://localhost:11434
  11. # API Scaleway (obligatoire pour le QA)
  12. SCW_API_KEY=
  13. # Vide = projet par défaut. Sinon: project_id (ex: d7d5949a-c2bb-484a-b973-e05a83510efd)
  14. SCW_ENDPOINT=
  15. SCW_MODEL=mistral-small-3.2-24b-instruct-2506
  16. # Optionnel : pour afficher les dépenses Scaleway sur le dashboard /developpeur (clé avec droit BillingReadOnly)
  17. # SCW_ORGANIZATION_ID= # ID organisation. Si absent, SCW_ENDPOINT est utilisé comme project_id
  18. # Wiki Intersel (obligatoire pour le scraping)
  19. WIKI_USERNAME=
  20. WIKI_PASSWORD=
  21. # SerpAPI (optionnel, fallback recherche Google)
  22. SERPAPI_KEY=
  23. SERPAPI_API_KEY=
  24. UPLOAD_FOLDER=uploads