-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
40 lines (31 loc) · 1.04 KB
/
.env.example
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
# Application Settings
NODE_ENV=production
PORT=3000
BASE_URL=http://localhost:3000
# Database Settings
MONGODB_URI=mongodb+srv://stream:telvinteum@stream.o3qip.mongodb.net/?retryWrites=true&w=majority&appName=stream
# Authentication
SESSION_SECRET=KquWbFL6DYB7sw4FxuVXAyZnwbfArT0YpoxF1yNGKZg
JWT_SECRET=iYYO8jSXNZauzM7tNKcyQMZhJhwIG-_XcFDwf5OIfgk
# Email Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=teumteum776@gmail.com
SMTP_PASS=lxnqofjkeeivvjqq
# File Upload Settings
MAX_FILE_SIZE=500000000 # 500MB for video uploads
MAX_IMAGE_SIZE=5000000 # 5MB for images
ALLOWED_VIDEO_TYPES=video/mp4,video/quicktime,video/x-msvideo,video/x-matroska
ALLOWED_IMAGE_TYPES=image/jpeg,image/png,image/gif
# Storage Paths
UPLOAD_PATH=/app/public/uploads
TEMP_PATH=/app/uploads/temp
# Rate Limiting
RATE_LIMIT_WINDOW=15
RATE_LIMIT_MAX_REQUESTS=100
# Cache Settings
CACHE_TTL=3600
# Security Settings
CORS_ORIGIN=http://localhost:3000
SECURE_COOKIES=false # Set to true in production with HTTPS
# Note: Replace sensitive values with your own in production