-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (42 loc) · 1.25 KB
/
.env.example
File metadata and controls
50 lines (42 loc) · 1.25 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
# Database Configuration
DATABASE_URL=postgresql://nest_user:nest_password@127.0.0.1:5434/nest_services_db
DB_HOST=127.0.0.1
DB_PORT=5434
DB_USERNAME=nest_user
DB_PASSWORD=nest_password
DB_DATABASE=nest_services_db
# Redis Configuration
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
# RabbitMQ Configuration
RABBITMQ_URL=amqp://nest_user:nest_password@localhost:5672
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_USERNAME=nest_user
RABBITMQ_PASSWORD=nest_password
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production-this-should-be-at-least-32-characters-long
JWT_EXPIRES_IN=15m
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-in-production-this-should-be-different-from-jwt-secret
JWT_REFRESH_EXPIRES_IN=7d
# Service Ports
API_GATEWAY_PORT=3000
AUTH_SERVICE_PORT=3001
USER_SERVICE_PORT=3002
NOTIFICATION_SERVICE_PORT=3003
ORDER_SERVICE_PORT=3004
# Application Configuration
NODE_ENV=development
LOG_LEVEL=debug
# SMTP Configuration (for email notifications)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
# Rate Limiting
THROTTLE_TTL=60
THROTTLE_LIMIT=10
# CORS Configuration
CORS_ORIGIN=http://localhost:3000,http://localhost:3001