-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (18 loc) · 926 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (18 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
# Exact frontend origin used for trusted server-side auth redirects.
APP_ORIGIN=http://localhost:3000
# Use one server-only credential. Never prefix it with NEXT_PUBLIC_.
SUPABASE_SECRET_KEY=server-only-secret-key
# SUPABASE_SERVICE_ROLE_KEY=legacy-server-only-service-role-key
# Browser-visible URL of the standalone collaboration service.
NEXT_PUBLIC_COLLABORATION_URL=ws://localhost:1234
# Collaboration service configuration. Production must use wss:// at the edge and
# an exact comma-separated origin allowlist.
COLLABORATION_PORT=1234
COLLABORATION_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
COLLABORATION_PERSIST_INTERVAL_MS=5000
COLLABORATION_MAX_CONNECTIONS_PER_USER=5
COLLABORATION_MAX_CONNECTIONS_PER_ROOM=50
COLLABORATION_MAX_MESSAGES_PER_SECOND=60
COLLABORATION_MAX_BYTES_PER_SECOND=1048576