-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
54 lines (52 loc) · 1.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
services:
- type: web
name: lesportaal-api
env: node
plan: free
# Update the following line with your Strapi GitHub repo
repo: https://github.com/El-Rico/glr4-backend
branch: main
buildCommand: yarn install && yarn build
startCommand: yarn start
healthCheckPath: /
envVars:
- key: NODE_VERSION
value: ~16.13.0
- key: NODE_ENV
value: production
- key: CLOUDINARY_NAME
sync: false
- key: CLOUDINARY_KEY
sync: false
- key: CLOUDINARY_SECRET
sync: false
- key: DATABASE_URL
fromDatabase:
name: strapi
property: connectionString
- key: JWT_SECRET
generateValue: true
- key: ADMIN_JWT_SECRET
generateValue: true
- key: API_TOKEN_SALT
generateValue: true
- key: APP_KEYS
generateValue: true
- type: web
name: lesportaal-web
env: node
plan: free
# Update the following line with your Remix GitHub repo
repo: https://github.com/El-Rico/glr4-frontend
branch: master
buildCommand: npm install && npm run build
startCommand: npm start
envVars:
- key: STRAPI_URL_BASE
fromService:
type: web
name: lesportaal-api
envVarKey: RENDER_EXTERNAL_URL
databases:
- name: strapi
plan: free # This database will expire 90 days after creation