-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.dev.vars.example
More file actions
54 lines (41 loc) · 1.9 KB
/
.dev.vars.example
File metadata and controls
54 lines (41 loc) · 1.9 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
# ─── Required ───
# Admin user email — this is the only secret you must set.
# This user is auto-added to the allowlist on first request and can manage other users.
ADMIN_EMAIL=
# ─── Recommended ───
# 32-byte hex key for server-side envelope encryption of per-user secrets.
# Generate with: openssl rand -hex 32
SECRETS_MASTER_KEY=
# Secret for signing session-sharing cookies.
# Generate with: openssl rand -hex 32
COOKIE_SECRET=
# Bearer token for the MCP endpoint (/mcp and /mcp/codemode).
# Generate with: openssl rand -base64url 32
DODO_MCP_TOKEN=
# ─── Optional: LLM gateway ───
# Auth token for the OpenCode LLM gateway (only if using OpenCode gateway).
OPENCODE_GATEWAY_TOKEN=
# Auth key for the Cloudflare AI Gateway (only if using AI Gateway).
AI_GATEWAY_KEY=
# ─── Optional: Cloudflare Access ───
# Set these to enable Cloudflare Access authentication.
# Without Access, Dodo runs in single-user mode using ADMIN_EMAIL.
# See: https://developers.cloudflare.com/cloudflare-one/identity/authorization-cookie/validating-json/
# CF_ACCESS_AUD=
# CF_ACCESS_TEAM_DOMAIN=
# ─── Optional: notifications ───
# ntfy.sh topic for worker run state-transition push notifications.
# Leave unset to disable notifications. Public ntfy.sh accepts any topic
# string; pick something unguessable.
# NTFY_TOPIC=
# ─── Optional: git fallbacks ───
# Per-user GitHub/GitLab tokens are the preferred path (stored encrypted
# in each user's UserControl DO). These env-level fallbacks are only used
# for the admin account and only when no per-user secret is configured.
# Set them via `wrangler secret put` in production, not via this file.
# GITHUB_TOKEN=
# GITLAB_TOKEN=
# ─── Optional: local dev ───
# When set to "true", auth bypass is enabled and every request is treated
# as `dev@dodo.local`. NEVER set this in production.
ALLOW_UNAUTHENTICATED_DEV=true