Moving from Render.

Your render.yaml imports as it is written. Secrets kept on Render are named, never guessed.

  1. Connect a server

    Install the agent. It connects out to the panel.

  2. Import

    In the repository, run yawl import render. Read the notes, then run it again with --apply.

  3. Move the data

    Restore a dump into each database with yawl db import, copy files into each volume, then yawl 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

AreaRenderIn Yawl
Servicestype: webA web service on port 10000, Render's own PORT.
type: worker type: pservWorkers. A private service has no address in Yawl; other services reach it by name.
type: cronA cron job with the same schedule, in UTC as on Render.
type: keyvalue type: redisValkey.
databases:Postgres, on postgresMajorVersion when it is 16 or 17, else 17.
runtime: imageRuns the image at image.url.
SettingsstartCommand dockerCommandcommand. A string runs as sh -c, as on Render.
preDeployCommandrelease. It runs on the new image before it starts.
healthCheckPath numInstances domainshealth_path, replicas (at most 10) and domains.
diskA volume at its mountPath.
VariablesenvVars with valueVariables.
fromDatabase fromServiceA reference, <db>.url, when it names a database's connectionString.
generateValue: trueMade on your machine, 32 letters and digits, set only with --apply. Never printed.
fromGroupThe group's variables, on each service that uses it.
sync: falseNamed, for yawl env set.
Not carriedDataDatabases and disks start empty.
buildCommandYawl's builder or Railpack decides how to build.
plan regionYawl runs on your server.
rootDir dockerfilePathA Dockerfile off the root is not carried.
Static sitesNot imported.