-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (35 loc) Β· 895 Bytes
/
.env.example
File metadata and controls
43 lines (35 loc) Β· 895 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
40
41
42
43
# Database
# For local development, you can use a local PostgreSQL instance
# For testing, see .env.test for test database configuration
DATABASE_URL="postgresql://user:password@localhost:5432/halolight?schema=public"
# JWT
JWT_SECRET="your-jwt-secret-key-change-this-in-production"
JWT_EXPIRES_IN="7d"
REFRESH_TOKEN_SECRET="your-refresh-token-secret"
REFRESH_TOKEN_EXPIRES_IN="30d"
# Application
PORT=3000
NODE_ENV="development"
API_PREFIX="api"
# CORS
CORS_ORIGIN="http://localhost:3000,http://localhost:3001"
# Rate Limiting
THROTTLE_TTL=60
THROTTLE_LIMIT=10
# File Upload
MAX_FILE_SIZE=10485760
UPLOAD_PATH="./uploads"
# Storage (S3 compatible)
STORAGE_ENDPOINT=""
STORAGE_ACCESS_KEY=""
STORAGE_SECRET_KEY=""
STORAGE_BUCKET=""
STORAGE_REGION=""
# Cache (Redis)
REDIS_HOST="localhost"
REDIS_PORT=6379
REDIS_PASSWORD=""
CACHE_TTL=300
# Logging
LOG_LEVEL="info"
LOG_FILE="logs/app.log"