-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
73 lines (61 loc) · 4.11 KB
/
Copy path.env.example
File metadata and controls
73 lines (61 loc) · 4.11 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
67
68
69
70
71
72
73
# ─────────────────────────────────────────────────────────────────
# Operon AI — Environment Variables Reference
# Copy to .env and fill in values marked REQUIRED
# ─────────────────────────────────────────────────────────────────
# ── App ──────────────────────────────────────────── REQUIRED ──
NODE_ENV=development
NEXTAUTH_URL=http://localhost:3000 # production: https://your-app.vercel.app
NEXTAUTH_SECRET=replace_with_32_byte_secret # openssl rand -base64 32
# ── Database ─────────────────────────────────────── REQUIRED ──
# Local: postgresql://postgres:postgres@localhost:5433/operon_ai
# Neon (free): postgresql://user:pass@ep-xxx.neon.tech/operon_ai?sslmode=require
# Supabase: postgresql://postgres:pass@db.xxx.supabase.co:5432/postgres
DATABASE_URL=postgresql://postgres:postgres@localhost:5433/operon_ai
# ── Redis ────────────────────────────────────────── REQUIRED ──
# Local: redis://localhost:6379
# Upstash (free): rediss://default:token@xxx.upstash.io:6379
REDIS_URL=redis://localhost:6379
# ── TinyFish Web Agent API ───────────────────────── REQUIRED ──
# Get your key at https://tinyfish.ai
TINYFISH_API_KEY=tf_replace_me
TINYFISH_BASE_URL=https://agent.tinyfish.ai
TINYFISH_EXECUTE_PATH=/v1/automation/run-sse
TINYFISH_TIMEOUT_MS=60000
# ── BullMQ Worker ────────────────────────────────── optional ──
# Defaults applied automatically if not set
BULLMQ_QUEUE_PREFIX=operon
BULLMQ_EXECUTION_ATTEMPTS=3
BULLMQ_EXECUTION_BACKOFF_MS=1000
# ── Screenshot Storage ───────────────────────────── optional ──
# Defaults to /tmp/operon-screenshots (safe for Vercel serverless)
# For persistent storage locally use: ./storage/screenshots
SCREENSHOT_STORAGE_PROVIDER=local
SCREENSHOT_STORAGE_BASE_PATH=./storage/screenshots
# ── Stripe Billing ───────────────────────────────── optional ──
# Only needed if you want the billing/plans page to work
# Billing routes degrade gracefully if these are not set
STRIPE_SECRET_KEY=sk_test_replace_me
STRIPE_WEBHOOK_SECRET=whsec_replace_me
STRIPE_PRICE_STARTER=price_starter_replace_me
STRIPE_PRICE_GROWTH=price_growth_replace_me
# ── Email Alerts ─────────────────────────────────── optional ──
# Receive email on execution completion
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your@gmail.com
SMTP_PASS=your_app_password
ALERT_EMAIL_FROM=operon@noreply.local
ALERT_EMAIL_TO=you@yourcompany.com
# ── Slack Alerts ─────────────────────────────────── optional ──
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/replace_me
# ── DataMesh Public API ──────────────────────────── optional ──
# API key for POST /api/v1/extract — set any value you want
DATAMESH_API_KEY=op_live_replace_me
# ── Control Plane ────────────────────────────────── optional ──
CONTROL_PLANE_WS_PORT=3101
# ── Seed Data ────────────────────────────────────── optional ──
# Used by: npx prisma db seed
SEED_OWNER_EMAIL=owner@operon.ai
SEED_OWNER_PASSWORD=ChangeMe123!
SEED_ORGANIZATION_NAME=Operon Demo Org
SEED_ORGANIZATION_SLUG=operon-demo-org