-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.production
More file actions
39 lines (31 loc) · 882 Bytes
/
.env.production
File metadata and controls
39 lines (31 loc) · 882 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
# .env.production
# ===========================================
# Configurações para ambiente de Produção/AWS
# ===========================================
# MongoDB Produção
MONGODB_URI=mongodb://mongodb:27017
MONGO_INITDB_DATABASE=microservices_db
# JWT Secret (diferente da dev!)
JWT_SECRET=super-secure-production-jwt-key-2024
# API Gateway Port
PORT=3000
# Auth Service
AUTH_HOST=auth-service
AUTH_PORT=3001
AUTH_SERVICE_HOST=auth-service
# Points Service
POINTS_HOST=points-service
POINTS_PORT=3002
POINTS_TCP_PORT=3002
POINTS_HTTP_PORT=3004
POINTS_DATABASE_URL=mongodb://mongodb:27017/points_db
POINTS_SERVICE_URL=http://points-service:3004
# Routes Service
ROUTES_HOST=routes-service
ROUTES_PORT=3003
ROUTES_SERVICE_TCP_PORT=3003
ROUTES_DATABASE_URL=mongodb://mongodb:27017/routes_db
# Rate Limiting
THROTTLE_LIMIT=1000
# Node Environment
NODE_ENV=production