Moving from Render.
Your render.yaml imports as it is written. Secrets kept on Render are named, never guessed.
Connect a server
Install the agent. It connects out to the panel.
Import
In the repository, run
yawl import render. Read the notes, then run it again with--apply.Move the data
Restore a dump into each database with
yawl db import, copy files into each volume, thenyawl deploy.
services:
- type: web
name: shop
runtime: node
plan: starter
region: frankfurt
buildCommand: npm ci && npm run build
startCommand: npm run start
preDeployCommand: npx prisma migrate deploy
healthCheckPath: /healthz
numInstances: 2
domains: [shop.acme.uz]
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase: {name: shop-db, property: connectionString}
- key: REDIS_URL
fromService: {type: keyvalue, name: cache, property: connectionString}
- key: SESSION_SECRET
generateValue: true
- key: STRIPE_KEY
sync: false
- fromGroup: shared
- type: worker
name: jobs
runtime: node
startCommand: node worker.js
envVars:
- fromGroup: shared
- type: cron
name: nightly
runtime: node
schedule: "0 3 * * *"
startCommand: node jobs/nightly.js
- type: keyvalue
name: cache
ipAllowList: []
databases:
- name: shop-db
postgresMajorVersion: "16"
envVarGroups:
- name: shared
envVars:
- key: LOG_LEVEL
value: info$ yawl import render --server hel1 Added shop-db (postgres). Added shop (web). Added jobs (worker). Added nightly (cron). Added cache (valkey). Note: shop-db: the data is not moved; restore a dump into shop-db once it runs (yawl db import). Note: shop: STRIPE_KEY is kept on Render; set it with yawl env set shop STRIPE_KEY. Note: shop: buildCommand is not carried; Yawl's builder or Railpack decides how to build. Note: shop: plan is not carried; Yawl runs on your server. Note: shop: region is not carried; Yawl runs on your server. Note: cache: the data is not moved; restore a dump into cache once it runs (yawl db import). Note: cache: ipAllowList is not carried; Yawl does not read it. Note: shop SESSION_SECRET is generated only with --apply; or set your own with yawl env set. Wrote yawl.yaml. Next: yawl apply, then set the variables: yawl env set jobs LOG_LEVEL yawl env set shop DATABASE_URL --ref shop-db.url yawl env set shop LOG_LEVEL yawl env set shop NODE_ENV yawl env set shop REDIS_URL --ref cache.url yawl env set shop SESSION_SECRET
What becomes what
| Area | Render | In Yawl |
|---|---|---|
| Services | type: web | A web service on port 10000, Render's own PORT. |
type: worker type: pserv | Workers. A private service has no address in Yawl; other services reach it by name. | |
type: cron | A cron job with the same schedule, in UTC as on Render. | |
type: keyvalue type: redis | Valkey. | |
databases: | Postgres, on postgresMajorVersion when it is 16 or 17, else 17. | |
runtime: image | Runs the image at image.url. | |
| Settings | startCommand dockerCommand | command. A string runs as sh -c, as on Render. |
preDeployCommand | release. It runs on the new image before it starts. | |
healthCheckPath numInstances domains | health_path, replicas (at most 10) and domains. | |
disk | A volume at its mountPath. | |
| Variables | envVars with value | Variables. |
fromDatabase fromService | A reference, <db>.url, when it names a database's connectionString. | |
generateValue: true | Made on your machine, 32 letters and digits, set only with --apply. Never printed. | |
fromGroup | The group's variables, on each service that uses it. | |
sync: false | Named, for yawl env set. | |
| Not carried | Data | Databases and disks start empty. |
buildCommand | Yawl's builder or Railpack decides how to build. | |
plan region | Yawl runs on your server. | |
rootDir dockerfilePath | A Dockerfile off the root is not carried. | |
| Static sites | Not imported. |