FerryDocs
Getting startedInstallation

The data directory

The data directory has the full state of the server. Make a backup of it.

Edit on GitHub
ferrydferry-datamake a backupDatastorea containerDocker volumenot in ferry-data
Where Ferry keeps its data

The default is ./ferry-data, in the folder where you start ferryd. On a server, give it a stable path.

Terminal
ferryd --data-dir /var/lib/ferry

FERRY_DATA_DIR does the same. The data of a datastore is in a Docker , not in this folder.

What is in it

PathContents
ferry.dbThe database: services, deploys, variables, env groups, datastores, job runs, the account, its sessions and API tokens
api_tokenThe server token, for scripts on the server (mode 0600)
setup_codeThe code that creates the account (mode 0600). It exists only while the server has no account.
instance_idIdentifies this data directory to Docker (mode 0600)
ferryd.lockferryd holds it while it runs
ferryd.jsonThe process id and the addresses of the server. ferryd status and ferryd stop read it. ferryd removes it when it stops.
ferryd.logThe output of a server in the background (ferryd logs)
logs/Deploy logs and job logs, one JSON object for each line
builds/Temporary build contexts. Ferry removes them after each build.
repos/Git caches, one for each service, for fast fetches
uploads/Source archives that ferry up sent
certs/The ACME account and the TLS certificates

On this page