-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy path.env.example
More file actions
61 lines (49 loc) · 2.77 KB
/
.env.example
File metadata and controls
61 lines (49 loc) · 2.77 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
# =============================================================================
# Traceroot Development Environment
# =============================================================================
# Copy to .env and update values marked CHANGEME for production.
# This single file is used by ALL services (Python backend, Next.js frontend,
# TS worker). No other .env files are needed.
# --- Database (PostgreSQL) ---------------------------------------------------
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres # CHANGEME
# --- ClickHouse ---------------------------------------------------------------
CLICKHOUSE_HOST=localhost
CLICKHOUSE_PORT=8123
CLICKHOUSE_USER=clickhouse
CLICKHOUSE_PASSWORD=clickhouse # CHANGEME
CLICKHOUSE_DATABASE=default
# --- S3 / MinIO ---------------------------------------------------------------
S3_ENDPOINT_URL=http://localhost:9090
S3_ACCESS_KEY_ID=minio
S3_SECRET_ACCESS_KEY=minio-password # CHANGEME
S3_BUCKET_NAME=traceroot
S3_REGION=us-east-1
# --- Redis --------------------------------------------------------------------
REDIS_URL=redis://localhost:6379/0
# --- REST API (Python FastAPI) ------------------------------------------------
# NOTE: Do NOT use generic HOST= or PORT= here — Next.js also reads PORT
# and would start on the wrong port. FastAPI defaults to 0.0.0.0:8000.
CORS_ORIGINS=["http://localhost:3000"]
# --- Internal API (Python <-> Next.js service communication) ------------------
TRACEROOT_UI_URL=http://localhost:3000
INTERNAL_API_SECRET=dev-internal-secret # CHANGEME in production
# --- Worker -------------------------------------------------------------------
POLL_INTERVAL_SECONDS=5
BATCH_SIZE=100
# --- NextAuth -----------------------------------------------------------------
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-nextauth-secret # CHANGEME
# --- Google OAuth (optional for local dev) ------------------------------------
# AUTH_GOOGLE_CLIENT_ID=your-google-client-id
# AUTH_GOOGLE_CLIENT_SECRET=your-google-client-secret
# --- Frontend -----------------------------------------------------------------
NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1
# --- Email (optional) ---------------------------------------------------------
# TRACEROOT_SMTP_URL=smtp://user:pass@host:port
# TRACEROOT_SMTP_MAIL_FROM=noreply@yourdomain.com
# --- Branding / Public URLs ---------------------------------------------------
NEXT_PUBLIC_LOGO_URL=https://raw.githubusercontent.com/traceroot-ai/traceroot/pivot/agentops/frontend/ui/public/images/icon-v2.png
NEXT_PUBLIC_DOCS_URL=https://docs.traceroot.ai
NEXT_PUBLIC_GITHUB_REPO_URL=https://github.com/traceroot-ai/traceroot
NEXT_PUBLIC_GITHUB_ISSUES_URL=https://github.com/traceroot-ai/traceroot/issues
NEXT_PUBLIC_DISCORD_INVITE_URL=https://discord.com/invite/tPyffEZvvJ