-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.dev.vars.example
More file actions
37 lines (30 loc) · 1.62 KB
/
Copy path.dev.vars.example
File metadata and controls
37 lines (30 loc) · 1.62 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
# Codra local development environment example
# Copy this file to .dev.vars for local development.
# Keep real secrets only in .dev.vars or your deployment secret store.
# --- Integration tests ---
TEST_DATABASE_URL="postgresql://user:password@localhost:5432/codra"
# --- LLM provider config encryption ---
LLM_CONFIG_ENCRYPTION_KEY="REPLACE_WITH_A_LONG_RANDOM_ENCRYPTION_KEY"
# --- GitHub App and OAuth ---
GITHUB_APP_WEBHOOK_SECRET="REPLACE_WITH_YOUR_WEBHOOK_SECRET"
GITHUB_APP_ID="REPLACE_WITH_YOUR_APP_ID"
GITHUB_CLIENT_ID="REPLACE_WITH_YOUR_CLIENT_ID"
GITHUB_CLIENT_SECRET="REPLACE_WITH_YOUR_CLIENT_SECRET"
APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nREPLACE_WITH_YOUR_GITHUB_APP_PRIVATE_KEY_CONTENT\n-----END RSA PRIVATE KEY-----"
# --- Cloudflare API ---
# Required permission: Workers AI Read for Cloudflare model catalog discovery.
CF_ACCOUNT_ID="REPLACE_WITH_YOUR_CLOUDFLARE_ACCOUNT_ID"
CF_API_TOKEN="REPLACE_WITH_CLOUDFLARE_API_TOKEN"
# --- Application URLs and mode ---
APP_URL="http://localhost:8787"
AUTH_CALLBACK_URL="http://localhost:8787/auth/github/callback"
ENVIRONMENT="development"
# --- Telemetry (optional) ---
# Anonymous aggregate usage stats are sent to https://codra.run/api/telemetry by default.
# Set TELEMETRY_DISABLED to "true" (or "1") to opt out entirely.
# TELEMETRY_DISABLED="true"
# TELEMETRY_API_URL="https://codra.run/api/telemetry"
# TELEMETRY_SECRET="REPLACE_TO_OVERRIDE_DEFAULT_TELEMETRY_SECRET"
# --- Database connections ---
DATABASE_URL="postgresql://user:password@localhost:5432/codra_dev"
CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE="postgresql://user:password@localhost:5432/codra_dev"