config.ini.example 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ; DEPRECATION WARNING:
  2. ; `config.ini` support will be removed in a future release.
  3. ; Please move your configuration to `.env` or environment variables.
  4. ; This file is kept only as a temporary compatibility example.
  5. [neo4j]
  6. uri = neo4j+s://xxxxxxxx.databases.neo4j.io
  7. username = neo4j
  8. password = your-password
  9. connection_pool_size = 100
  10. connection_timeout = 30.0
  11. connection_acquisition_timeout = 30.0
  12. max_transaction_retry_time = 30.0
  13. max_connection_lifetime = 300.0
  14. liveness_check_timeout = 30.0
  15. keep_alive = true
  16. [mongodb]
  17. uri = mongodb+srv://name:password@your-cluster-address
  18. database = lightrag
  19. [redis]
  20. uri=redis://localhost:6379/1
  21. [qdrant]
  22. uri = http://localhost:16333
  23. [postgres]
  24. host = localhost
  25. port = 5432
  26. user = your_username
  27. password = your_password
  28. database = your_database
  29. # workspace = default
  30. max_connections = 12
  31. vector_index_type = HNSW # HNSW, IVFFLAT or VCHORDRQ
  32. hnsw_m = 16
  33. hnsw_ef = 64
  34. ivfflat_lists = 100
  35. vchordrq_build_options =
  36. vchordrq_probes =
  37. vchordrq_epsilon = 1.9
  38. [memgraph]
  39. uri = bolt://localhost:7687
  40. [milvus]
  41. uri = http://localhost:19530
  42. db_name = lightrag
  43. # user = root
  44. # password = your_password
  45. # token = your_token