-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.production.example
More file actions
59 lines (50 loc) · 2.35 KB
/
.env.production.example
File metadata and controls
59 lines (50 loc) · 2.35 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
# Production Environment Variables
# Copy this file to .env.production and fill in your values
# ============================================================================
# Core Settings
# ============================================================================
VERSION=1.0.0
NODE_ENV=production
# ============================================================================
# Database Configuration (PostgreSQL)
# ============================================================================
POSTGRES_DB=crackhouse
POSTGRES_USER=postgres
POSTGRES_PASSWORD=CHANGE_ME_STRONG_PASSWORD_HERE
POSTGRES_PORT=5432
# ============================================================================
# Redis Configuration
# ============================================================================
REDIS_PORT=6379
REDIS_PASSWORD=CHANGE_ME_STRONG_REDIS_PASSWORD
# ============================================================================
# Authentication & Security
# ============================================================================
# Generate with: openssl rand -base64 32
JWT_SECRET=CHANGE_ME_MINIMUM_32_CHARACTERS_LONG_SECRET
BETTER_AUTH_SECRET=CHANGE_ME_MINIMUM_32_CHARACTERS_LONG_SECRET
# Your production URL (without trailing slash)
BETTER_AUTH_URL=https://yourdomain.com
# ============================================================================
# Application Ports
# ============================================================================
WEB_PORT=3000
API_PORT=3001
# ============================================================================
# Email Configuration (Optional - for password reset, notifications)
# ============================================================================
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASSWORD=your-app-specific-password
EMAIL_FROM=CrackHouse <noreply@yourdomain.com>
# ============================================================================
# File Upload Limits
# ============================================================================
MAX_PCAP_SIZE=1073741824 # 1GB in bytes
MAX_DICTIONARY_SIZE=10737418240 # 10GB in bytes
# ============================================================================
# Job Processing
# ============================================================================
MAX_CONCURRENT_JOBS=5
DEFAULT_JOB_TIMEOUT=3600000 # 1 hour in milliseconds