-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
34 lines (32 loc) · 922 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
34
databases:
- name: database
databaseName: foil
services:
- name: web-service
type: web
env: node
plan: pro
buildCommand: chmod +x render-build.sh && ./render-build.sh && pnpm --filter @foil/api install
startCommand: pnpm --filter @foil/api start:service
autoDeploy: true
envVars:
- key: DATABASE_URL
fromDatabase:
name: database
property: connectionString
repo: https://github.com/foilxyz/foil
branch: main
- name: background-worker
type: worker
env: node
plan: standard
buildCommand: chmod +x render-build.sh && ./render-build.sh && pnpm --filter @foil/api install
startCommand: pnpm --filter @foil/api start:worker
autoDeploy: true
envVars:
- key: DATABASE_URL
fromDatabase:
name: database
property: connectionString
repo: https://github.com/foilxyz/foil
branch: main