FerryDocs
Getting startedFerry and Render

Inside Ferry

All of Ferry runs in one process, ferryd. Docker runs your apps on the same machine.

Edit on GitHub
ferryd, one process127.0.0.1:portBrowser, curlCLI, dashboardferry-proxy:8080 / :443ferry-api:7878SQLiteferry.dbferry-engineferry-buildApp containersferry networkDocker daemon

A request goes to the proxy. The proxy sends it to the correct container.

1 / 5

The parts of ferryd

PartWork
ferry-proxyThe public : routes by , and
ferry-apiREST, and webhooks, for the dashboard and the CLI
ferry-engineDeploys, the , cron and datastores
ferry-buildgit and docker build
The , in ferry.db

What the engine does

  • A deploy. The clones the repository, or unpacks an upload. It detects the runtime and builds an image.
  • The switch. The engine starts new containers next to the old containers and tests their health. Then it moves the proxy to them in one step. It drains and stops the old containers. See The steps of a deploy.
  • A repair. The reconciler replaces each container that crashed. It also keeps the number of instances correct and updates the routes.

Read more in Architecture.

On this page