Yoke.sh
Deployment

Deployment

Deploy Yoke — CLI, environment variables, single-tenant, multi-tenant, scaling, observability, and Docker.

This section covers running Yoke — as a library inside your server (the intended production path), and with the authoring CLI while you write the internal package.

Deployment models

Intended production path. Your binary depends on yoke-runtime and calls YokeRuntime::start or start_colocated. Public HTTP is yours. Yoke ports stay private. See Embed.

Minimum production requirements

ComponentRequirement
Postgres16+, durable storage, backups
YOKE_STORAGEpg_sqlite or s3 (required)
Deno2.x (embedded at runtime; needed for dev)
Rust binaryyoke CLI, compiled deploy crate, or yoke-executor OCI image

Quick production checklist

Set DATABASE_URL and run migrations (automatic on start).
Choose YOKE_STORAGE=pg_sqlite or s3 with YOKE_S3_BUCKET.
Compile a library into your workspace (yoke compile --crate) or a CLI crate (yoke compile).
Configure portal HTTP ingress (load balancer, TLS).
Enable GET /metrics scraping for observability.

On this page