-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduction.env.example
More file actions
44 lines (36 loc) · 1.01 KB
/
production.env.example
File metadata and controls
44 lines (36 loc) · 1.01 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
# Production Environment Variables - Copy this file as production.env and edit values
# IMPORTANT: Change all default passwords and secrets before deployment!
# Application Settings
NODE_ENV=production
APP_URL=yourURL
APP_SECRET=YOUR_APP_SECRET
SESSION_SECRET=YOUR_SESSION_SECRET
JWT_SECRET=YOUR_JWT_SECRET
# Database Configuration
DB_PASSWORD=YOUR_DB_PASSWORD
# Email Configuration (Optional - for notifications)
MAIL_DRIVER=smtp
MAIL_HOST=
MAIL_PORT=587
MAIL_USERNAME=
MAIL_PASSWORD=your-email-password-here
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=
# Storage Configuration (Optional - for file uploads)
STORAGE_DRIVER=local
# For S3-compatible storage:
# STORAGE_DRIVER=s3
# S3_ACCESS_KEY_ID=your-access-key
# S3_SECRET_ACCESS_KEY=your-secret-key
# S3_BUCKET=your-bucket-name
# S3_REGION=your-region
# S3_ENDPOINT=https://your-s3-endpoint.com
# Security Settings
BCRYPT_ROUNDS=12
# Rate Limiting
RATE_LIMIT_WINDOW=15
RATE_LIMIT_MAX=100
# Session Configuration
SESSION_LIFETIME=7d
# Backup Configuration
BACKUP_RETENTION_DAYS=30