-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
31 lines (22 loc) · 774 Bytes
/
Copy pathenv.example
File metadata and controls
31 lines (22 loc) · 774 Bytes
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
# Server Configuration
PORT=3000
WS_PORT=8080
LOG_LEVEL=info
# Redis Configuration
REDIS_URL=redis://localhost:6379
# CORS Configuration
# Single origin
# CORS_ORIGIN=http://localhost:3000
# Multiple origins (comma-separated)
# CORS_ORIGIN=http://localhost:3000,https://app.example.com,https://admin.example.com
# Allow all origins (default, use with caution in production)
CORS_ORIGIN=*
# Client ID Configuration
CLIENT_ID_EXPIRATION=604800
# Examples for different environments:
# Development - Multiple local ports
# CORS_ORIGIN=http://localhost:3000,http://localhost:3001,http://localhost:8080
# Staging
# CORS_ORIGIN=https://staging-app.example.com,https://staging-admin.example.com
# Production
# CORS_ORIGIN=https://app.example.com,https://admin.example.com