-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
86 lines (67 loc) · 1.83 KB
/
Copy path.env.production.example
File metadata and controls
86 lines (67 loc) · 1.83 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Streamwall Production Environment Configuration
# Copy this file to .env.production and update with your values
# Environment
ENV=production
NODE_ENV=production
RAILS_ENV=production
# Domain Configuration
DOMAIN=streamwall.example.com
ADMIN_DOMAIN=admin.streamwall.example.com
# Database Configuration
POSTGRES_USER=streamwall
POSTGRES_DB=streamwall_production
# Password is stored in secrets/postgres_password.txt
# Redis Configuration
REDIS_PORT=6379
# StreamSource Configuration
STREAMSOURCE_PORT=3000
STREAMSOURCE_VERSION=latest
# API URL for internal services
STREAMSOURCE_API_URL=http://streamsource:3000/api/v1
# Security - These are stored in secrets/ directory
# - secret_key_base.txt
# - jwt_secret.txt
# - api_key.txt
# - discord_token.txt
# Service Account for Monitor/Updater
STREAMSOURCE_EMAIL=service@streamwall.local
STREAMSOURCE_PASSWORD=secure_password_here
# Discord Configuration (if using)
DISCORD_CHANNEL_ID=your_channel_id_here
# Twitch Configuration (if using)
TWITCH_CHANNEL=your_channel_here
# Container Registry (optional)
DOCKER_REGISTRY=ghcr.io
# Service Versions
MONITOR_VERSION=latest
UPDATER_VERSION=latest
# Performance Tuning
WEB_CONCURRENCY=3
RAILS_MAX_THREADS=5
# SSL/TLS Configuration
FORCE_SSL=true
HTTP_PORT=80
HTTPS_PORT=443
# Monitoring Ports (if using monitoring stack)
PROMETHEUS_PORT=9090
GRAFANA_PORT=3001
# Backup Configuration
BACKUP_RETENTION_DAYS=30
BACKUP_SCHEDULE="0 3 * * *" # 3 AM daily
# Feature Flags
ENABLE_MONITORING=true
ENABLE_RATE_LIMITING=true
LOCATION_VALIDATION=true
# Email Configuration (for notifications)
SMTP_ADDRESS=smtp.example.com
SMTP_PORT=587
SMTP_DOMAIN=example.com
SMTP_USER_NAME=notifications@example.com
SMTP_AUTHENTICATION=plain
SMTP_ENABLE_STARTTLS_AUTO=true
ACTION_MAILER_DEFAULT_FROM=noreply@example.com
# Logging
LOG_LEVEL=info
RAILS_LOG_LEVEL=info
# Time Zone
TZ=UTC