-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
46 lines (37 loc) · 993 Bytes
/
env.example
File metadata and controls
46 lines (37 loc) · 993 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
44
45
# Database
DATABASE_URL="postgresql://username@localhost:5432/logistics_db"
TEST_DATABASE_URL="postgresql://postgres@localhost:5433/logistics_test_db"
# JWT
JWT_SECRET="your-super-secret-jwt-key-here"
JWT_EXPIRES_IN="7d"
REFRESH_TOKEN_TTL_SECONDS=2592000 # 30 days
# Server
PORT=3000
NODE_ENV="development"
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
CACHE_PREFIX=ecommerce_api
# Email Configuration
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@gmail.com
SMTP_PASS=your-app-password
FROM_EMAIL=noreply@ecommerce.com
FRONTEND_URL=http://localhost:3001
# MailHog (development)
MAILHOG_HOST=localhost
MAILHOG_PORT=1025
# CORS
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# OTEL
OTEL_ENABLED=false
OTEL_SERVICE_NAME=logistics-api
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
# OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf