-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
81 lines (76 loc) · 1.9 KB
/
render.yaml
File metadata and controls
81 lines (76 loc) · 1.9 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
services:
# Gateway (Node runtime)
- type: web
name: gateway
runtime: node
plan: free
rootDir: gateway
buildCommand: npm ci
startCommand: npm start
envVars:
- key: NODE_VERSION
value: "22.16.0"
- key: PRODUCTS_URL
fromService:
type: web
name: products
envVarKey: RENDER_EXTERNAL_URL
- key: USERS_URL
fromService:
type: web
name: users
envVarKey: RENDER_EXTERNAL_URL
- key: ORDERS_URL
fromService:
type: web
name: orders
envVarKey: RENDER_EXTERNAL_URL
# Products (Go, public)
- type: web
name: products
runtime: docker
dockerfilePath: ./services/products/Dockerfile
dockerContext: ./services/products
plan: free
envVars:
- key: PORT
value: "10000"
- key: DATABASE_URL
fromDatabase: { name: products-db, property: connectionString }
# Users (Go, public)
- type: web
name: users
runtime: docker
dockerfilePath: ./services/users/Dockerfile
dockerContext: ./services/users
plan: free
envVars:
- key: PORT
value: "10000"
- key: DATABASE_URL
fromDatabase: { name: products-db, property: connectionString }
# Orders (Go, public)
- type: web
name: orders
runtime: docker
dockerfilePath: ./services/orders/Dockerfile
dockerContext: ./services/orders
plan: free
envVars:
- key: PORT
value: "10000"
- key: DATABASE_URL
fromDatabase: { name: products-db, property: connectionString }
# Gradio UI (public)
- type: web
name: gradio-ui
runtime: docker
dockerfilePath: ./gradio_ui/dockerfile
dockerContext: ./gradio_ui
plan: free
envVars:
- key: GRAPHQL_ENDPOINT
fromService: { type: web, name: gateway, property: host }
databases:
- name: products-db
plan: free