-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (44 loc) · 2.05 KB
/
.env.example
File metadata and controls
57 lines (44 loc) · 2.05 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
50
51
52
53
54
55
56
57
GITHUB_TOKEN=your_github_personal_access_token_here
PORT=3102
APP_ENV=development
WARMUP_USERNAME=pphatdev
# Redis Cache Configuration (optional)
# If not set, defaults to redis://localhost:6379
# Redis is optional - the app will work with in-memory caching if Redis is unavailable
# ============================================================================
# Disable Redis (use in-memory cache only)
# ============================================================================
# If you're experiencing connection issues (e.g., TLS errors), you can disable Redis:
# REDIS_ENABLED=false
# ============================================================================
# Option 1: URL-based configuration (simple)
# ============================================================================
# For local development:
# REDIS_URL=redis://localhost:6379
# For Redis with authentication:
# REDIS_URL=redis://username:password@localhost:6379
# For remote Redis:
# REDIS_URL=redis://your-redis-host.com:6379
# ============================================================================
# Option 2: Socket-based configuration (for Redis Cloud, AWS ElastiCache, etc.)
# ============================================================================
# Example: Redis Cloud
# REDIS_HOST=redis-10434.crce262.us-east-1-1.ec2.cloud.redislabs.com
# REDIS_PORT=10434
# REDIS_USERNAME=default
# REDIS_PASSWORD=your_password_here
# REDIS_TLS=true
# Example: AWS ElastiCache
# REDIS_HOST=my-cache.abc123.ng.0001.use1.cache.amazonaws.com
# REDIS_PORT=6379
# REDIS_USERNAME=default
# REDIS_PASSWORD=your_password_here
# REDIS_TLS=true
# Note: TLS is automatically detected for known cloud providers
# Auto-detection works for: cloud.redislabs.com, cache.amazonaws.com, render.com, etc.
# To override auto-detection: explicitly set REDIS_TLS=true or REDIS_TLS=false
# ============================================================================
# Debugging
# ============================================================================
# Enable debug mode for detailed connection logs
# DEBUG_REDIS=true