-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
66 lines (54 loc) · 5.22 KB
/
Copy path.env.example
File metadata and controls
66 lines (54 loc) · 5.22 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# ──────────────────────────────────────────────────
# KodiAI Environment Variables
# ──────────────────────────────────────────────────
# Copy to .env and fill in values.
# Lines marked (required) must be set for the app to start.
# Lines marked (optional) enable additional features.
# ── GitHub App ───────────────────────────────────
GITHUB_APP_ID= # (required) GitHub App numeric ID
GITHUB_PRIVATE_KEY= # (required*) PEM private key contents — alternative to BASE64
GITHUB_PRIVATE_KEY_BASE64= # (required*) base64 -w0 < private-key.pem — alternative to plain PEM
GITHUB_WEBHOOK_SECRET= # (required) Webhook secret configured in the GitHub App
# ── Claude Code ──────────────────────────────────
CLAUDE_CODE_OAUTH_TOKEN= # (required) 1-year token from `claude setup-token`; do not use ~/.claude/.credentials.json accessToken here
ANTHROPIC_API_KEY= # (optional) Direct Anthropic API key for LLM provider fallback
# ── Azure Deployment ───────────────────────────
KEY_VAULT_NAME= # (optional) Shared Key Vault name for runtime secrets; defaults to kv-kodiai-<subscription-prefix>
DEPLOYER_OBJECT_ID= # (optional) Azure principal object ID for Key Vault secret-write role assignment in non-interactive deploys
DEPLOYER_PRINCIPAL_TYPE= # (optional) User or ServicePrincipal; required when DEPLOYER_OBJECT_ID is set
# ── Server ───────────────────────────────────────
PORT=3000 # (optional) HTTP server port
LOG_LEVEL=info # (optional) trace, debug, info, warn, error, fatal
SHUTDOWN_GRACE_MS= # (optional) Graceful shutdown timeout in milliseconds
# ── Database ─────────────────────────────────────
DATABASE_URL= # (required) PostgreSQL connection string
# ── Slack Integration ────────────────────────────
SLACK_BOT_TOKEN= # (optional) Slack Bot OAuth token (xoxb-...)
SLACK_SIGNING_SECRET= # (optional) Slack app signing secret
SLACK_BOT_USER_ID= # (optional) Slack bot user ID for mention detection
SLACK_KODIAI_CHANNEL_ID= # (optional) Channel ID for KodiAI notifications
SLACK_DEFAULT_REPO= # (optional) Default owner/repo for Slack commands
SLACK_ASSISTANT_MODEL= # (optional) Model name for Slack assistant responses
SLACK_WEBHOOK_RELAY_SOURCES= # (optional) JSON array of webhook relay source definitions (service-level config, not `.kodiai.yml`)
SLACK_WIKI_CHANNEL_ID= # (optional) Channel ID for wiki update notifications
# ── Wiki ─────────────────────────────────────────
WIKI_BASE_URL= # (optional) Base URL for wiki content
WIKI_STALENESS_THRESHOLD_DAYS= # (optional) Days before a wiki page is considered stale
WIKI_GITHUB_OWNER= # (optional) GitHub owner for wiki-linked repo
WIKI_GITHUB_REPO= # (optional) GitHub repo for wiki-linked repo
# ── Bot User ─────────────────────────────────────
BOT_USER_PAT= # (optional) Personal access token for bot user operations
BOT_USER_LOGIN= # (optional) GitHub login of the bot user
BOT_ALLOW_LIST= # (optional) Comma-separated bot logins to allow through (e.g. "dependabot,renovate")
# ── Embeddings ───────────────────────────────────
VOYAGE_API_KEY= # (optional) Voyage AI API key for embeddings
# ── ACA Agent Job (defaults in src/config.ts target production) ──
ACA_JOB_IMAGE= # (optional) Agent job image; default kodiairegistry.azurecr.io/kodiai-agent:latest
ACA_JOB_NAME= # (optional) ACA job name; default caj-kodiai-agent
ACA_RESOURCE_GROUP= # (optional) Azure resource group; default rg-kodiai
MCP_INTERNAL_BASE_URL= # (optional) Internal MCP base URL for agent jobs; default http://ca-kodiai
# ── Misc Behavior ────────────────────────────────
ADDON_REPOS= # (optional) Comma-separated owner/repo list treated as Kodi addon repos
DATABASE_POOL_MAX= # (optional) Postgres pool size; default 10
# ── Telemetry / Internal ─────────────────────────
TELEMETRY_RATE_LIMIT_FAILURE_IDENTITIES= # (optional) Comma-separated identities to rate-limit on failure