forked from medusajs/medusa-eats
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrender.yaml
105 lines (105 loc) · 2.38 KB
/
render.yaml
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
95
96
97
98
99
100
101
102
103
104
105
previewsEnabled: true
databases:
- name: medusa-db
databaseName: medusa_db_ghqs
user: medusa_db_ghqs_user
region: virginia
ipAllowList:
- source: 0.0.0.0/0
description: everywhere
postgresMajorVersion: "16"
highAvailability:
enabled: true
readReplicas:
- name: medusa-db-replica
services:
- type: web
name: pgAdmin-dpg-cqt5i4dsvqrc73d0j8vg-a
runtime: docker
repo: https://github.com/render-examples/pgadmin
plan: starter
envVars:
- key: servers.json
sync: false
- key: pgpassfile
sync: false
- key: PORT
sync: false
- key: PGADMIN_SERVER_JSON_FILE
sync: false
- key: PGADMIN_LISTEN_PORT
sync: false
- key: PGADMIN_DEFAULT_PASSWORD
sync: false
- key: PGADMIN_DEFAULT_EMAIL
sync: false
- key: PGADMIN_DATABASE_USER
sync: false
- key: PGADMIN_DATABASE_NAME
sync: false
- key: PGADMIN_DATABASE_HOST
fromDatabase:
name: medusa-db
property: host
- key: GUNICORN_THREADS
sync: false
region: virginia
dockerContext: .
dockerfilePath: ./Dockerfile
disk:
name: pgadmin
mountPath: /var/lib/pgadmin
sizeGB: 1
- type: web
name: medusa-help-center
runtime: static
repo: https://github.com/StephenBarlow/help-center
buildCommand: yarn install; yarn build
staticPublishPath: ./build
- type: web
name: medusa-api
runtime: node
repo: https://github.com/renderinc/gartner-demo-2024-medusa-eats
plan: pro
envVars:
- key: REDIS_URL
fromService:
name: medusa-redis
type: redis
property: connectionString
- key: FRONTEND_URL
sync: false
- key: DATABASE_URL
fromDatabase:
name: medusa-db
property: connectionString
- fromGroup: Medusa Eats Secrets
region: virginia
buildCommand: yarn install; yarn run build
startCommand: yarn run start
scaling:
minInstances: 1
maxInstances: 5
targetCPUPercent: 80
targetMemoryPercent: 80
rootDir: ./backend
- type: web
name: medusa-frontend
runtime: node
repo: https://github.com/renderinc/gartner-demo-2024-medusa-eats
plan: pro
envVars:
- key: BACKEND_URL
sync: false
- fromGroup: Medusa Eats Secrets
region: virginia
buildCommand: yarn install; yarn run build
startCommand: yarn run start
rootDir: ./frontend
- type: redis
name: medusa-redis
plan: starter
region: virginia
maxmemoryPolicy: allkeys-lru
ipAllowList: []
version: "1"