-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathrender.yaml
More file actions
44 lines (39 loc) · 1.42 KB
/
Copy pathrender.yaml
File metadata and controls
44 lines (39 loc) · 1.42 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
41
42
43
44
# yaml-language-server: $schema=https://render.com/schema/render.yaml.json
#
# workflow-agents. Web host (Hono) + managed Postgres.
# Builds from the repo root so the npm workspaces resolve.
#
# The Workflow service is created separately with the Render CLI — see
# docs/03-workflow-agents.md.
projects:
- name: agents-workshop-workflows
environments:
- name: production
databases:
- name: workflow-agents-db
plan: basic-256mb
region: oregon
postgresMajorVersion: "18"
services:
- type: web
name: agents-gateway
runtime: node
region: oregon
plan: starter
buildCommand: npm ci
startCommand: npm run start --workspace @workshop/workflow-agents
healthCheckPath: /healthz
envVars:
# Durable run records + span traces (auto-wired from the database above)
- key: DATABASE_URL
fromDatabase:
name: workflow-agents-db
property: connectionString
# Render Workflow task dispatch (production)
- key: RENDER_API_KEY
sync: false
# Slug of the separate Render Workflow service, for example workflow-agents
- key: RENDER_WORKFLOW_SLUG
sync: false
- key: NODE_ENV
value: production