-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrender.yaml
33 lines (32 loc) · 780 Bytes
/
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
services:
- type: web
name: strapi
env: node
plan: starter
buildCommand: yarn setup
startCommand: cd ./main/staax-backend && yarn develop
healthCheckPath: /_health
disk:
name: strapi-uploads
mountPath: /opt/render/project/src/public/uploads
sizeGB: 1
envVars:
- key: NODE_VERSION
value: 16.15.1
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: strapi
property: connectionString
- key: JWT_SECRET
generateValue: true
- key: ADMIN_JWT_SECRET
generateValue: true
- key: APP_KEYS
generateValue: true
- key: API_TOKEN_SALT
generateValue: true
databases:
- name: strapi
plan: starter