What this gets you:
- Runtime + dashboard as Render web services, both built from this repo's Dockerfiles.
- Managed Postgres 16 with pgvector preinstalled.
- Three env-var groups (LLM, S3, sandbox) so secrets are set ONCE.
Drop this in your fork's README so others can one-click deploy:
[](https://render.com/deploy?repo=https://github.com/Agent-Field/backai)
The button URL pattern is https://render.com/deploy?repo=<repo-url>.
Render reads render.yaml from the repo root — we keep ours at
deploy/render/render.yaml and symlink or set
renderYAMLPath: deploy/render/render.yaml in the dashboard if you keep
it nested.
- Fork the repo.
- Go to render.com -> New -> Blueprint.
- Point at your fork. Select
deploy/render/render.yamlas the blueprint file. - Render parses the file, lists what it'll create:
- 1 Postgres database (af-stack-postgres)
- 2 web services (runtime + dashboard)
- 3 env-var groups (LLM, S3, sandbox)
- Fill in the
sync: falseplaceholders:- LLM: at least one of
OPENROUTER_API_KEY,ANTHROPIC_API_KEY,OPENAI_API_KEY. - S3: endpoint, bucket, access key, secret key.
- Sandbox:
E2B_API_KEY.
- LLM: at least one of
- Hit "Apply Blueprint". Render builds the images, runs migrations on first boot, and starts both services.
# Runtime
curl https://af-stack-runtime.onrender.com/health
curl https://af-stack-runtime.onrender.com/ready
# Dashboard
open https://af-stack-dashboard.onrender.com/fromService.property: hostreturns the public Render hostname for the dashboard'sNEXT_PUBLIC_RUNTIME_URL(so browsers can reach it). The server-sideRUNTIME_URLuseshostport, which is the internalhost:portpair — faster, no public egress charges.generateValue: trueforAF_STACK_KMS_KEY+AF_STACK_AUTH_SECRETruns ONCE on first apply. Re-generating them rotates the keys and invalidates all sessions + vault entries — don't redeploy with new values lightly.- Render Postgres
standardplan = $19/mo as of 2026. Usestarterfor dev environments; bump toproif you need >256 connections. - Sandbox: default is
e2bbecause Render containers can't run Docker. Switch to gvisor when 9.2 lands. region: oregonis hardcoded — change to whichever Render region is closest to your users + your Postgres.