-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
94 lines (91 loc) · 2.29 KB
/
render.yaml
File metadata and controls
94 lines (91 loc) · 2.29 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Base de datos PostgreSQL gestionada por Render
databases:
- name: busconnect-db
plan: free
region: frankfurt
databaseName: busconnect
services:
# User Service
- type: web
name: busconnect-user-service
env: docker
plan: free
region: frankfurt
autoDeploy: true
dockerfilePath: ./user-service/Dockerfile
dockerContext: .
envVars:
- key: SPRING_PROFILES_ACTIVE
value: prod
- key: DB_HOST
fromDatabase:
name: busconnect-db
property: host
- key: DB_PORT
fromDatabase:
name: busconnect-db
property: port
- key: DB_NAME
fromDatabase:
name: busconnect-db
property: database
- key: DB_USERNAME
fromDatabase:
name: busconnect-db
property: user
- key: DB_PASSWORD
fromDatabase:
name: busconnect-db
property: password
# Catalog Service
- type: web
name: busconnect-catalog-service
env: docker
plan: free
region: frankfurt
autoDeploy: true
dockerfilePath: ./catalog-service/Dockerfile
dockerContext: .
healthCheckPath: /actuator/health
envVars:
- key: SPRING_PROFILES_ACTIVE
value: prod
- key: DB_HOST
fromDatabase:
name: busconnect-db
property: host
- key: DB_PORT
fromDatabase:
name: busconnect-db
property: port
- key: DB_NAME
fromDatabase:
name: busconnect-db
property: database
- key: DB_USERNAME
fromDatabase:
name: busconnect-db
property: user
- key: DB_PASSWORD
fromDatabase:
name: busconnect-db
property: password
- key: OPENROUTE_API_KEY
sync: false
# API Gateway (Public - punto de entrada)
- type: web
name: busconnect-api-gateway
env: docker
plan: free
region: frankfurt
autoDeploy: true
dockerfilePath: ./api-gateway/Dockerfile
dockerContext: .
healthCheckPath: /actuator/health
envVars:
- key: SPRING_PROFILES_ACTIVE
value: prod
- key: CATALOG_SERVICE_URL
value: https://busconnect-catalog-service.onrender.com
- key: USER_SERVICE_URL
value: https://busconnect-user-service.onrender.com