You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FalkorDBLite runs a local embedded server over a private Unix socket by default. Set `FALKORDB_LITE_PORT` only when a host/port-only integration, such as GraphRAG chat, must connect to the embedded database.
80
+
71
81
### 2. Configure environment variables
72
82
73
83
Copy the template and adjust it for your setup:
@@ -78,10 +88,14 @@ cp .env.template .env
78
88
79
89
| Variable | Description | Required | Default |
80
90
|----------|-------------|----------|---------|
91
+
|`CODE_GRAPH_DB_BACKEND`| Database backend: `falkordb` or `lite`| No |`falkordb`|
81
92
|`FALKORDB_HOST`| FalkorDB hostname | No |`localhost`|
82
93
|`FALKORDB_PORT`| FalkorDB port | No |`6379`|
83
94
|`FALKORDB_USERNAME`| Optional FalkorDB username | No | empty |
84
95
|`FALKORDB_PASSWORD`| Optional FalkorDB password | No | empty |
96
+
|`FALKORDB_LITE_PATH`| FalkorDBLite database file path | No |`~/.cache/code-graph/falkordblite.rdb`|
97
+
|`FALKORDB_LITE_HOST`| Host used when exposing FalkorDBLite over TCP | No |`127.0.0.1`|
98
+
|`FALKORDB_LITE_PORT`| Optional TCP port for FalkorDBLite host/port clients | No | empty |
85
99
|`SECRET_TOKEN`| Token checked by protected endpoints | No | empty |
86
100
|`CODE_GRAPH_PUBLIC`| Set `1` to skip auth on read-only endpoints | No |`0`|
87
101
|`ALLOWED_ANALYSIS_DIR`| Root path allowed for `/api/analyze_folder`| No | repository root |
0 commit comments