FerryDocs
ArchitectureOverview

The data directory

The files of ferryd are in the data directory, and the containers are in Docker.

Edit on GitHub
ferrydData directory./ferry-dataDockerFilesdatabase, logsContainersimages, volumes
Where the state is

All that knows is in its . The option is --data-dir. The default is ./ferry-data.

The files

PathContents
ferry.dbSQLite: services, deploys, job runs, datastores, env groups, env vars, settings, the account, sessions, API tokens
api_tokenThe (mode 0600)
setup_codeThe , only while the server has no account (0600)
instance_idThe owner id of the Docker name prefix (0600)
ferryd.lockHeld while ferryd runs
logs/deploys/<deploy id>.logThe log of one deploy: one JSON log line per line
logs/jobs/<job id>.logThe log of one job
builds/Scratch build contexts. Ferry deletes them after each build.
repos/Git mirrors, one per service
uploads/Source archives that ferry up uploaded
certs/The ACME account, the certificates and the keys

What is in Docker

The state of the containers is in Docker, not in the data directory:

  • Images.
  • Containers.
  • The .
  • The of the datastores and the disks of the services.

See Names and labels in Docker.

On this page