File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # ──────────────────────────────────────────────────────────────────────────────
2- # GraphRAG – environment variables
3- # Copy this file to .env and fill in the values. Never commit .env to git.
4- # ──────────────────────────────────────────────────────────────────────────────
5-
6- # PostgreSQL credentials (required)
7- POSTGRES_PASSWORD = changeme_strong_password
8-
9- # PostgreSQL connection (defaults match docker-compose service names)
10- POSTGRES_HOST = postgres
11- POSTGRES_PORT = 5432
12- POSTGRES_DB = graphrag
13- POSTGRES_USER = graphrag
14-
15- # Embedding model (HuggingFace model ID)
16- # BAAI/bge-m3 → 1024-dim, great quality
17- # Change here AND update vector(1024) in 02_schema.sql if using a different model
18- EMBEDDING_MODEL = BAAI/bge-m3
19- EMBEDDING_DEVICE = cuda # set to "cpu" if no GPU is available
20- EMBEDDING_BATCH_SIZE = 32
21-
22- # Watched docs folder (inside the container; mapped via volume)
23- DOCS_PATH = /docs
24- WATCH_RECURSIVE = true
25-
26- # MCP server
27- MCP_HOST = 0.0.0.0
28- MCP_PORT = 8000
29- SEARCH_TOP_K = 10
30- SEARCH_MIN_SCORE = 0.0
31-
32- # Docker image tag used in docker-compose.yml when pulling pre-built images
33- IMAGE_TAG = latest
34-
35- # Set to your GitHub org/repo for GHCR image names, e.g. myorg/GraphRAG
36- GITHUB_REPOSITORY = yourorg/GraphRAG
37-
38- # Optional: HuggingFace cache directory on the host (avoids re-downloading)
39- # Mount this path as a volume in docker-compose.override.yml if desired
40- # HF_HOME=/path/to/hf_cache
You can’t perform that action at this time.
0 commit comments