Skip to content

Support matrix ​

What each Yoho mode supports, what it refuses, and the exact error message or documentation section that enforces each limit. Error examples use App shop and Destination production.

Modes at a glance ​

CapabilityCompose (operator)Compose (Gate Member)SwarmRoles (Compose, operator)
Multi-ServerNo without Roles — 1 Server per Destination (High availability). Configure roles for several Compose ServersNo — Compose only and 1 Server (Team access). Errors: multi-Server scoped access is unsupported / destinations.production: access: scoped supports the compose runtime onlyYes — manager (first Server) + workers (Swarm); Stateful Services stay pinned to the first Server (High availability)Yes, opt-in Service placement and private connections (Roles)
Update mode: proxied ServiceStart-first side-by-side (--scale <svc>=2 --no-recreate), health-gated cutover + drain via kamal-proxy (Zero-downtime)Same, on the App's isolated Proxy network yoho-<app>-<dest>-proxy (Team access)Swarm start-first rolling update; kamal-proxy targets the service VIP (strict_drain: true routes to tasks) (Swarm)Same as operator Compose, per placed Service; see Roles
Update mode: worker / non-proxied ServiceStop-first (docker compose up -d --no-deps), never overlapped (Zero-downtime)Same, subject to Gate policy limits (Team access)Swarm rolling update (start-first for stateless Services) (Swarm)Same as operator Compose, per placed Service; see Roles
Update mode: Stateful ServiceStop-first, pinned to the Destination's Server; cannot be proxied (stateful service cannot be proxied; it is recreated stop-first and has no zero-downtime cutover) (Zero-downtime)Same, within Gate policy (named volumes only, no bind mounts); cannot be proxied (Team access)Stop-first, pinned to the first Server (node.hostname == <first Server>); cannot be proxied (High availability)Same as operator Compose, per placed Service; see Roles
DowntimeProxied Services: zero downtime on normal deploys. Workers & Stateful Services: brief stop-first restart. Shared Proxy upgrade: ~1 s interruption for all Apps on the Server (Upgrading the Proxy).Same as Compose (operator); Members cannot upgrade the shared Proxy.Proxied Services: zero downtime on normal deploys. Stateful Services: brief stop-first restart on the first Server. Shared Proxy upgrade: ~1 s interruption per Server.Same as operator Compose, per placed Service; see Roles
Rollback scopeCode only (recorded image digests + compiled Compose). Volumes and database migrations are not reverted; current secrets are kept unless --with-release-secrets (Rollback).Same, and Gate-deployed Releases only (operator Releases are refused; Gate re-vets the Release against current policy) (Team access).Code only (recorded image digests + compiled stack). Volumes and migrations are not reverted; current secrets are kept unless --with-release-secrets (Rollback).Same as operator Compose, per placed Service; see Roles
Backup (run / list / restore)Yes (Backups)No — not a Gate verb (Team access). Error: `yoho backup run` is not available with scoped access to shop/productionYes — runs on the first Server (manager) where Stateful Services are pinned (Backups on Swarm)Owner Server; Server recorded in manifest; one owner per job
Restore drill (yoho backup drill)Yes — throwaway project + verify + RTO estimate (Restore drills)No — not a Gate verb (Team access). Error: `yoho backup drill` is not available with scoped access to shop/productionNo (Backups on Swarm). Error: backup drill supports compose Destinations only (drill into a Compose Destination with restore --from)Same as operator Compose, per placed Service; see Roles
Preview (yoho preview)Yes (Preview environments)No (Preview setup). Validation error: previews.from requires a compose Destination with operator access; runtime error: preview commands require operator accessNo (Preview setup). Validation error: previews.from requires a compose Destination with operator accessSame as operator Compose, per placed Service; see Roles
Migration cutover (migrate)Yes (ADR 0012)No (Team access). Validation error: destinations.production.migrate needs access: operator (the cutover stops other containers on the Server)No (Swarm). Validation error: destinations.production.migrate supports the compose runtime only; cut over to a compose Destination first, or stop the old stack by hand before `yoho deploy` Same as operator Compose, per placed Service; see Roles
Secrets rotation (yoho secrets rotate)Yes — both provider secrets (Rotating values) and --generated (Rotating generated secrets)No — not a Gate verb; operator rotates and runs yoho access secrets push (Team access). Error: `yoho secrets rotate` is not available with scoped access to shop/productionProvider secrets: Yes. --generated: No (Rotating generated secrets). Error: --generated supports the compose runtime onlySame as operator Compose, per placed Service; see Roles
Scale to zeroManual only (deploy.replicas: 0 or scale: 0; no route when proxied). Automatic idle sleep/wake: No (deferred in ADR 0014).Same (replicas: 0 allowed within Gate limits; empty projects refused unless limits.allow_empty). No automatic idle sleep/wake.Manual deploy.replicas: 0 only. No automatic idle sleep/wake (ADR 0014).Same as operator Compose, per placed Service; see Roles
HooksYes — all deploy, rollback, proxy, backup, restore, and cutover Hooks run locally (Hooks)Partial — pre-connect, pre-build, pre-deploy, and post-deploy run on the Member's machine around the Gate call; YOHO_LOCK is false (Hooks)Yes — run locally with all Servers in YOHO_HOSTS; proxy hooks run per Server (Hooks)Destination Hooks once; release commands on the first sorted Service Server; Proxy hooks per Server
Scheduled JobsYes — opt-in systemd timers on the Server (Scheduled jobs)No — not a Gate verb (Team access). Error: `yoho schedule install` is not available with scoped access to shop/productionYes — installed, checked, and removed on the first Server (manager) (Scheduled jobs)Yes, on each job’s volume owner; one owner per job
Service checks (x-yoho.check)Yes — tcp / http / websocket via ssh -W (Service checks)Yes — run in-process by the Gate against the App's own container IP (Team access)No (Service checks). Validation error: x-yoho.check is not supported with runtime swarm yetSame as operator Compose, per placed Service; see Roles
Destination subnet & App-dir bind mountsYes (read-only App-dir binds shipped content-addressed)Destination subnet: ignored (not passed through the Gate; set networks.default.ipam in the Compose file instead). Bind mounts: No (Gate refuses all bind mounts, Team access)No — subnet error: destinations.production.subnet supports the compose runtime only; remove it or pin the subnet in the compose file's networks.default.ipam; bind mount error: bind mount <src>:<dst> comes from the App directory; the swarm runtime does not ship files to nodes (bake it into the image or use a named volume)Same as operator Compose, per placed Service; see Roles
One-off container (yoho app run)YesNo — not a Gate verb. Error: `yoho app run` is not available with scoped access to shop/productionNo. Error: app run is not available on runtime swarmSame as operator Compose, per placed Service; see Roles
Stop a Service (yoho app stop / app start)Yes, Services without x-yoho.proxy; the Service stays stopped through deploy, apply and rollback until yoho app start (CLI, ADR 0021). Proxied Services: set deploy.replicas: 0No — not a Gate verb. Error: `yoho app stop` is not available with scoped access to shop/productionNo. Error: app stop is not available on runtime swarm (set deploy.replicas: 0)Same as operator Compose; without --server it acts on every Server hosting the Service
Database promotion (yoho db promote)No — needs Roles and a Connection. Error: db promote requires a Roles Destination with a ConnectionNo — Roles are operator-onlyNo. Error: db promote requires a Roles Destination with a ConnectionYes, Postgres only, manual: fence with app stop, replay wait, pg_promote(), then apply (Postgres primary and standby). No automatic failover (ADR 0003)
Per-Server tags (x-yoho.tags)Yes (Per-Server tags)No. Error: x-yoho.tags requires operator access; the Gate refuses per-Server environmentNo. Error: x-yoho.tags supports the compose runtime only; set the environment in the Compose file insteadYes, each Server gets its own environment

Important nuances ​

Zero downtime is per Service kind ​

Yoho does not promise blanket zero downtime for every container in an App:

  • Proxied Services (x-yoho.proxy) switch without downtime: new containers start alongside old ones, pass their healthcheck, and kamal-proxy drains existing connections before removing old containers.
  • Workers / non-proxied stateless Services restart stop-first on the compose runtime, without overlapping copies. On Swarm, they use rolling updates that default to start-first, so old and new tasks can overlap.
  • Stateful Services restart stop-first on both runtimes. Yoho never overlaps two copies of a Stateful Service.
  • Upgrading the shared Proxy (yoho proxy upgrade or a Proxy image/config change during deploy) recreates yoho-proxy and causes roughly a one-second interruption for all Apps on that Server (Upgrading the Proxy).

Image transport ​

With the default transport.mode: auto, Yoho ships images over SSH without requiring a container registry:

  • Layer-diff push (docker pussh) is used for local Docker builds when both the local docker pussh plugin and the Server's containerd image store are present.
  • Layer-aware pull (layers) is used for Apple container builds over an SSH reverse tunnel (works on both containerd and classic Docker stores as a non-root deploy user) and for Gate (access: scoped) uploads when the Server uses the containerd image store with an updated Gate (reusing only layers owned by that App Destination).
  • Full archive (docker save | docker load) is the automatic fallback whenever those prerequisites are missing, and is still used by builder.direct remote builds (Builds & image transport).

What the Gate enforces — and what it does not ​

The Gate (access: scoped) provides scoped authorization per App Destination (fixed verbs, no shell, no Docker socket, isolated Proxy network, and no access to other Apps on the Server). It is not a mandatory human-approval barrier:

  • yoho deploy and yoho apply --auto-approve skip interactive confirmation prompts.
  • While Yoho never reveals secret values to a Member, any code a Member deploys runs with that App's secrets mounted and can read or exfiltrate them (Team access). Grant deploy only to teammates or CI jobs you trust with that App's secrets.

Roles ingress ​

A proxied Service on several Servers uses a named Cloudflare Tunnel with a connector on every ingress Server, or an external TLS load balancer with Proxy TLS disabled. DNS-01 and shared certificate issuance are not implemented. Swarm receives bug/security fixes and CI only (ADR 0017).

Without Roles, multiple Compose Servers are refused with: multiple Compose Servers require destinations.<name>.roles; assign every Service to a Role.

Roles is operator-only, including YOHO_ACCESS=scoped: Roles are operator-only; scoped (Gate) access is not supported. Multi-Server ingress requires a named Tunnel or explicit x-yoho.proxy.ssl: false. Connection filtering uses mangle PREROUTING before any FORWARD ACCEPT.

A connection provider runs on exactly one Server unless the connection sets instances: true (Instance connections): connection upstream target Service api must resolve to exactly one Server, or set instances: true to address each Server as `<server>.m.api`. Instance connections refuse a proxied provider (instance connection upstream provider cannot be proxied; consumers address each Server's container directly), more than one container per Server (instance connection upstream provider must run exactly one container per Server (replicas: 1)) and the provider as its own consumer (connection upstream provider api cannot consume its own instance Connection; split the consumer into another Service).