-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.staging.example
More file actions
65 lines (57 loc) · 2.95 KB
/
.env.staging.example
File metadata and controls
65 lines (57 loc) · 2.95 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
# SprintForge Staging Environment Variables
#
# ⚠️ SECURITY WARNING: This is a template file with placeholder values.
# ⚠️ Copy to .env.staging and replace ALL placeholder values with secure random strings.
# ⚠️ NEVER commit .env.staging to version control - it contains secrets!
#
# Quick setup:
# cp .env.staging.example .env.staging
# # Generate secure values:
# echo "POSTGRES_PASSWORD=$(openssl rand -base64 32)" >> .env.staging
# echo "SECRET_KEY=$(openssl rand -hex 32)" >> .env.staging
# echo "NEXTAUTH_SECRET=$(openssl rand -base64 32)" >> .env.staging
# ============================================================================
# Database Configuration
# ⚠️ MUST CHANGE: Generate with: openssl rand -base64 32
# ============================================================================
POSTGRES_PASSWORD=PLACEHOLDER_CHANGE_ME_$(openssl rand -base64 32)
DATABASE_URL=postgresql+asyncpg://sprintforge:PLACEHOLDER_CHANGE_ME@postgres:5432/sprintforge_staging
# ============================================================================
# Application Security
# ⚠️ MUST CHANGE: Generate with: openssl rand -hex 32
# ============================================================================
SECRET_KEY=PLACEHOLDER_CHANGE_ME_$(openssl rand -hex 32)
NEXTAUTH_SECRET=PLACEHOLDER_CHANGE_ME_$(openssl rand -base64 32)
# ============================================================================
# Cloudflare Tunnel (if using Cloudflare)
# ============================================================================
# Get this from: https://dash.cloudflare.com/
# After creating a tunnel, copy the token here
CLOUDFLARE_TUNNEL_TOKEN=your_tunnel_token_here
# ============================================================================
# Application URLs
# ============================================================================
# Replace with your actual domain or tunnel URL
STAGING_DOMAIN=staging.yourdomain.com
# ============================================================================
# Redis Configuration
# ============================================================================
REDIS_URL=redis://redis:6379
# ============================================================================
# Email/SMTP (Optional - for notification testing)
# ============================================================================
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=your-email@gmail.com
# SMTP_PASSWORD=your-app-password
# ============================================================================
# Monitoring (Optional)
# ============================================================================
# SENTRY_DSN=your-sentry-dsn-here
# LOG_LEVEL=info
# ============================================================================
# Demo Data (Optional)
# ============================================================================
# AUTO_CREATE_DEMO_PROJECT=true
# DEMO_USER_EMAIL=demo@sprintforge.com
# DEMO_USER_PASSWORD=Demo123!