-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (49 loc) · 1.27 KB
/
.env.example
File metadata and controls
61 lines (49 loc) · 1.27 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
# Database Configuration
DATABASE_URL=postgresql://vortexflow_user:vortexflow_password@localhost:5432/vortexflow
DB_HOST=localhost
DB_PORT=5432
DB_NAME=vortexflow
DB_USER=vortexflow_user
DB_PASSWORD=vortexflow_password
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
# Session Configuration
SESSION_SECRET=your-super-secret-session-key-change-this-in-production-use-crypto-random
SESSION_NAME=vortexflow-session
SESSION_MAX_AGE=86400000
# Admin Account (created automatically)
ADMIN_EMAIL=admin@admin.com
ADMIN_PASSWORD=VortexFlow2024!
# Server Configuration
NODE_ENV=development
PORT=5000
HOST=localhost
# Frontend Configuration
REACT_APP_API_URL=http://localhost:5000/api
REACT_APP_WS_URL=ws://localhost:5000
# Security
BCRYPT_SALT_ROUNDS=12
# Email Configuration (for password reset)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
FROM_EMAIL=noreply@vortexflow.com
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# File Upload
MAX_FILE_SIZE=10485760
UPLOAD_DIR=uploads
# Logging
LOG_LEVEL=info
LOG_FILE=logs/vortexflow.log
# Performance
CACHE_TTL=3600
SIMULATION_MAX_NODES=1000
SIMULATION_MAX_EDGES=5000
# Development
DEBUG=vortexflow:*
WEBPACK_DEV_SERVER_PORT=3000