-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (29 loc) · 996 Bytes
/
Copy path.env.example
File metadata and controls
39 lines (29 loc) · 996 Bytes
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
# Copy this file to .env and fill in your actual values
# Database Configuration
DATABASE_URL="postgresql://username:password@localhost:5432/meshadmin"
# Redis Configuration
REDIS_URL="redis://localhost:6379"
# JWT Configuration
JWT_SECRET="your-super-secret-jwt-key-change-this-in-production"
JWT_EXPIRES_IN="7d"
# Server Configuration
NODE_ENV="development"
PORT="3001"
# Frontend Configuration (for Docker builds)
VITE_API_URL="http://localhost:3001/api"
# Development Database (optional)
DEV_DATABASE_URL="postgresql://username:password@localhost:5432/meshadmin_dev"
# Test Database (optional)
TEST_DATABASE_URL="postgresql://username:password@localhost:5432/meshadmin_test"
# Logging Configuration
LOG_LEVEL="info"
LOG_FORMAT="combined"
# Security Configuration
CORS_ORIGIN="http://localhost:5173"
RATE_LIMIT_WINDOW_MS="900000"
RATE_LIMIT_MAX_REQUESTS="100"
# Docker Configuration
POSTGRES_USER="meshadmin"
POSTGRES_PASSWORD="password123"
POSTGRES_DB="meshadmin"
REDIS_PASSWORD=""