-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathrender.yaml
More file actions
40 lines (40 loc) 路 1.43 KB
/
Copy pathrender.yaml
File metadata and controls
40 lines (40 loc) 路 1.43 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
#### Render Blueprint specification: https://render.com/docs/blueprint-spec ####
## Note: Render does not support variable interpolation in render.yaml.
## Preview environments: https://render.com/docs/preview-environments
# previews:
# generation: automatic
# expireAfterDays: 2
services:
- type: web
runtime: node
name: airbroke
plan: free
## 馃憞 Specify the plan for the PR deployment:
# previewPlan: starter
## 馃憞 Preview Environment Initialization script:
# initialDeployHook: yarn db:seed
buildCommand: corepack yarn install --immutable && corepack yarn build
# preDeployCommand is not supported on free tier services.
# On free tier, run migrations at boot (safe no-op if already applied).
startCommand: corepack yarn db:migrate && corepack yarn start
healthCheckPath: /api/hc
envVars:
- key: NODE_VERSION
value: 24.12.0
- key: DATABASE_URL
fromDatabase:
name: airbroke-starter-db
property: connectionString
- key: DIRECT_URL
fromDatabase:
name: airbroke-starter-db
property: connectionString
- key: NEXT_SERVER_ACTIONS_ENCRYPTION_KEY
generateValue: true
- key: BETTER_AUTH_SECRET
generateValue: true
- key: BETTER_AUTH_URL
sync: false # Set to your service's public URL, e.g. https://airbroke-xxxx.onrender.com
databases:
- name: airbroke-starter-db
plan: free