-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (33 loc) · 1.43 KB
/
.env.example
File metadata and controls
40 lines (33 loc) · 1.43 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
# =============================================================================
# Canvas-A-I-O Environment Variables
# =============================================================================
# Copy this file to .env.local and fill in your values
# --- Database (PostgreSQL) ---
DATABASE_URL=postgresql://user:password@localhost:5432/canvas
# --- Better Auth ---
BETTER_AUTH_SECRET= # Required when DATABASE_URL is set. Generate: openssl rand -hex 32
NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_TRUSTED_ORIGINS=http://localhost:3000
# --- RBAC: Admin Bootstrap ---
ADMIN_EMAIL= # First user with this email gets "owner" role on signup
# --- OAuth Providers (optional) ---
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# --- AI Provider ---
AI_PROVIDER= # openai, anthropic, google, azure, bedrock, ollama
AI_MODEL= # e.g. gpt-4o, claude-sonnet-4-20250514, gemini-2.0-flash
# --- Real-time Collaboration (Sprint 3, Optional) ---
# Use URL query (?room=team-room) for ad-hoc rooms, or set a default room ID:
NEXT_PUBLIC_COLLAB_ROOM_ID=
NEXT_PUBLIC_COLLAB_WS_URL=ws://localhost:3001
# --- WebSocket Collaboration Server (Sprint 3, Phase 2) ---
WS_PORT=3001
WS_HEALTH_PORT=3002
WS_HOST=0.0.0.0
WS_DEBOUNCE_MS=1000
WS_MAX_DEBOUNCE_MS=5000
WS_MAX_DOCUMENT_BYTES=10485760
WS_ENABLE_UPDATE_LOG=false
WS_ALLOWED_ORIGINS=http://localhost:6002