-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.prod.example
More file actions
92 lines (72 loc) · 3.17 KB
/
Copy path.env.prod.example
File metadata and controls
92 lines (72 loc) · 3.17 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
87
88
89
90
91
92
# =============================================================================
# B&R Capital Dashboard - Production Environment Configuration
# =============================================================================
# Copy this file to .env.prod and fill in the values
# IMPORTANT: Never commit .env.prod to version control
# Usage: docker-compose -f docker-compose.prod.yml --env-file .env.prod up -d
# =============================================================================
# =============================================================================
# REQUIRED SETTINGS (Must be configured - no defaults)
# =============================================================================
# PostgreSQL Database Credentials
# Use a strong, unique password (min 16 characters recommended)
POSTGRES_USER=dashboard_user
POSTGRES_PASSWORD=your_secure_database_password_here
POSTGRES_DB=dashboard_interface_data
# Redis Cache Password
# Use a strong, unique password
REDIS_PASSWORD=your_secure_redis_password_here
# Application Secret Key
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(64))"
# CRITICAL: Must be unique per environment, never share between envs
SECRET_KEY=your_secret_key_here_generate_with_python_secrets
# =============================================================================
# APPLICATION SETTINGS
# =============================================================================
# Backend Configuration
BACKEND_WORKERS=4
LOG_LEVEL=info
# JWT Configuration
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# CORS Origins (comma-separated list of allowed origins)
# Example: https://yourdomain.com,https://www.yourdomain.com
CORS_ORIGINS=https://yourdomain.com
# =============================================================================
# FRONTEND SETTINGS
# =============================================================================
# Port for frontend service (default: 80)
FRONTEND_PORT=80
# API URL for frontend build (relative path for same-origin)
VITE_API_URL=/api
# Feature Flags
VITE_ENABLE_AI_INSIGHTS=true
VITE_ENABLE_REAL_TIME_UPDATES=true
VITE_ENABLE_EXPORT_FEATURES=true
# =============================================================================
# OPTIONAL: EXTERNAL INTEGRATIONS
# =============================================================================
# FRED API Key (for economic data)
# Register at: https://fred.stlouisfed.org/docs/api/api_key.html
FRED_API_KEY=
# Azure AD / SharePoint Integration (if needed)
AZURE_TENANT_ID=
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=
SHAREPOINT_SITE_URL=
# =============================================================================
# OPTIONAL: EMAIL SETTINGS (SMTP)
# =============================================================================
SMTP_HOST=smtp.gmail.com
SMTP_PORT=465
SMTP_USER=
SMTP_PASSWORD=
EMAIL_FROM_NAME=B&R Capital Dashboard
EMAIL_FROM_ADDRESS=
# =============================================================================
# OPTIONAL: MONITORING & ANALYTICS
# =============================================================================
# Sentry DSN for error tracking
# SENTRY_DSN=https://xxxxx@sentry.io/xxxxx
# Google Analytics
# VITE_GA_TRACKING_ID=G-XXXXXXXXXX