-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
40 lines (32 loc) · 1.04 KB
/
env.example
File metadata and controls
40 lines (32 loc) · 1.04 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
# Server Configuration
PORT=4000
NODE_ENV=development
# CORS Configuration (comma-separated list of allowed origins)
# Required in production, optional in development (defaults to localhost origins)
# Example: ALLOWED_ORIGINS=https://example.com,https://app.example.com
ALLOWED_ORIGINS=
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_KEY_PREFIX=rt
# Firebase Configuration
FIREBASE_PROJECT_ID=your-project-id
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYour private key here\n-----END PRIVATE KEY-----\n"
FIREBASE_CLIENT_EMAIL=firebase-adminsdk-xxxxx@your-project-id.iam.gserviceaccount.com
# Rate Limiting
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100
# Topic Configuration
MAX_TOPIC_BUFFER_SIZE=1000
MAX_SUBSCRIBER_QUEUE_SIZE=100
SLOW_CLIENT_THRESHOLD_MS=5000
# Logging
LOG_LEVEL=info
# Feature Flags
DURABILITY_ENABLED=false
# WARNING: Only set to true in development/testing. NEVER disable auth in production!
FIREBASE_AUTH_DISABLED=false
# Limits
MAX_PAYLOAD_BYTES=65536