forked from cloudflare/moltworker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dev.vars.example
More file actions
33 lines (24 loc) · 1.08 KB
/
.dev.vars.example
File metadata and controls
33 lines (24 loc) · 1.08 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
# Copy this to .dev.vars and fill in your values
# .dev.vars is gitignored and used by wrangler dev
ANTHROPIC_API_KEY=sk-ant-...
# Local development mode - skips Cloudflare Access auth and bypasses device pairing
# DEV_MODE=true
# E2E test mode - skips Cloudflare Access auth but keeps device pairing enabled
# Use this for automated tests that need to test the real pairing flow
# E2E_TEST_MODE=true
# Enable debug routes at /debug/* (optional)
# DEBUG_ROUTES=true
# Optional - set a fixed token instead of auto-generated
MOLTBOT_GATEWAY_TOKEN=dev-token-change-in-prod
# Cloudflare Access configuration for /_admin and /api routes
# Required for admin UI and device pairing API in production
# CF_ACCESS_TEAM_DOMAIN=myteam.cloudflareaccess.com
# CF_ACCESS_AUD=your-application-audience-tag
# Optional chat channels
# TELEGRAM_BOT_TOKEN=optional
# DISCORD_BOT_TOKEN=optional
# CDP (Chrome DevTools Protocol) configuration for browser automation
# CDP_SECRET=shared-secret-for-cdp-auth
# WORKER_URL=https://your-worker.example.com
# Additional AI providers
# GEMINI_API_KEY=your-gemini-api-key