-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
50 lines (37 loc) · 1.47 KB
/
Copy pathenv.example
File metadata and controls
50 lines (37 loc) · 1.47 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
# ============================================
# Games API - Environment Variables
# ============================================
# Copy this file to .env and fill in your values
# cp env.example .env
# ============================================
# Server Configuration
# ============================================
# Server port (optional, default: 8060)
PORT=8060
# Node environment: development, production, or test (optional, default: development)
NODE_ENV=development
# ============================================
# Database Configuration
# ============================================
# MongoDB connection URI (REQUIRED)
# Format: mongodb://username:password@host:port/databaseName
# Example: mongodb://admin:password123@localhost:27017/logs
MONGODB=mongodb://username:password@host:port/databaseName
# ============================================
# WebSocket Configuration
# ============================================
# WebSocket broker URL for real-time log ingestion (REQUIRED)
# Format: ws://broker-url:port or wss://broker-url:port
# Example: ws://localhost:8080
BROKER_URL=ws://broker-url:port
# ============================================
# Redis Configuration (Optional)
# ============================================
# Redis host (optional, default: localhost)
REDIS_HOST=localhost
# Redis port (optional, default: 6379)
REDIS_PORT=6379
# Redis username (optional, default: admin)
REDIS_USERNAME=admin
# Redis password (optional, default: default)
REDIS_PASSWORD=default