-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
40 lines (30 loc) · 1.19 KB
/
.env.example
File metadata and controls
40 lines (30 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Database (required for search/knowledge tools)
DATABASE_URL=postgresql://pathfinder:changeme@localhost:5432/pathfinder
# OpenAI (Required when embedding.provider is openai (default), or for Slack/Discord text channel distillation)
OPENAI_API_KEY=sk-...
# GitHub (optional, for cloning private repos and webhook reindexing)
GITHUB_TOKEN=ghp_...
GITHUB_WEBHOOK_SECRET=whsec_...
# Slack (required when slack sources configured)
SLACK_BOT_TOKEN=xoxb-...
SLACK_SIGNING_SECRET=
# Discord (required when discord sources configured)
DISCORD_BOT_TOKEN=
DISCORD_PUBLIC_KEY=
# Notion (required when notion sources configured)
NOTION_TOKEN=ntn_...
# Analytics dashboard (optional — protects /analytics and /api/analytics/*)
ANALYTICS_TOKEN=
# MCP OAuth JWT secret — REQUIRED in production (32+ bytes random).
# Generate: openssl rand -hex 32
# If unset in development, an ephemeral secret is generated at startup
# (all issued tokens are invalidated on restart).
MCP_JWT_SECRET=
# Server
PORT=3001
NODE_ENV=development
LOG_LEVEL=debug
# Git clone directory (default: /tmp/mcp-repos)
CLONE_DIR=/tmp/mcp-repos
# Slack webhook URL for operational alerts (optional — reindex audit, deploy health)
SLACK_WEBHOOK_URL=