-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (51 loc) · 2.02 KB
/
.env.example
File metadata and controls
70 lines (51 loc) · 2.02 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
58
59
60
61
62
63
64
65
66
67
68
69
70
# StreamSource Environment Variables - Development
# Copy this file to .env for local development
# ============================================
# Core Rails Configuration
# ============================================
# Rails environment (development, test, production)
RAILS_ENV=development
# Secret key base for development (generate with: rails secret)
SECRET_KEY_BASE=development-secret-key-base-change-in-production
# Enable/disable logging to stdout
RAILS_LOG_TO_STDOUT=true
# Log level (debug, info, warn, error, fatal)
RAILS_LOG_LEVEL=debug
# ============================================
# Database Configuration
# ============================================
# PostgreSQL connection URL
DATABASE_URL=postgres://streamsource:streamsource_password@localhost:5432/streamsource_development
# ============================================
# Redis Configuration
# ============================================
# Redis connection URL (used for ActionCable, caching, and session storage)
REDIS_URL=redis://localhost:6379/0
# ============================================
# Application Server Configuration
# ============================================
# Maximum number of threads per Puma worker
RAILS_MAX_THREADS=5
# Number of Puma worker processes
WEB_CONCURRENCY=2
# Port for the web server to listen on
PORT=3000
# ============================================
# Optional External Services
# ============================================
# Sentry error tracking (https://sentry.io)
# SENTRY_DSN=https://your-key@sentry.io/your-project-id
# ============================================
# Feature Flags (Optional)
# ============================================
# These can also be managed via Flipper UI at /admin/flipper
# ENABLE_ANALYTICS=false
# ENABLE_BULK_IMPORT=false
# ENABLE_EXPORT=false
# ENABLE_WEBHOOKS=false
# ============================================
# Development-Specific Settings
# ============================================
# Bundle configuration (usually not needed to change)
# BUNDLE_WITHOUT=""
# BUNDLE_GEMFILE="Gemfile"