FerryDocs
Getting startedInstallation

Configure for production

The defaults are good for a laptop. A server needs a base domain, HTTPS and a service manager.

Edit on GitHub
Laptopthe defaultsServeryour optionslocalhostHTTP, port 8080Your domainHTTPS, port 443

With the defaults, your apps are at <name>.localhost:8080.

1 / 2

The options that you use most

Most also have an environment variable.

FlagEnvironment variableDefaultPurpose
--data-dirFERRY_DATA_DIR./ferry-dataThe state of the server
--base-domainFERRY_BASE_DOMAINlocalhostThe : your apps are at <name>.<base-domain>. You can connect more domains while the server runs.
--proxy-addrFERRY_PROXY_ADDR0.0.0.0:8080The public HTTP address, for example 0.0.0.0:80
--https-addrFERRY_HTTPS_ADDRnoneThe public HTTPS address, for example 0.0.0.0:443
--acme-emailFERRY_ACME_EMAILnoneTurns on certificates
--github-webhook-secretFERRY_GITHUB_WEBHOOK_SECRETnoneTurns on GitHub auto-deploys

Example

Terminal
ferryd run \
  --data-dir /var/lib/ferry \
  --base-domain apps.example.com \
  --proxy-addr 0.0.0.0:80 \
  --https-addr 0.0.0.0:443 \
  --acme-email you@example.com

A such as runs this command for you. The Production setup guide shows the full setup.

Server options lists each flag. If the server does not start, see Troubleshooting.

On this page