FerryDocs
ConceptsDatastores

Options of a datastore

You give a name. Ferry chooses the version, the database, the user and the password.

Edit on GitHub
- becomes _same nameNameapp-dbDatabaseapp_dbUserapp_dbPassword32 hex characters

You give only a name to a Postgres datastore.

1 / 4
Terminal
ferry db create reports --version 17 --database reports --user analyst

The options

OptionPostgresRedis
Name1 to 40 characters: lowercase letters, digits or -. The first character is a letter.The same
Version (--version)The major version. Default: 16.Default: 7.
Imagepostgres:<version>-alpineredis:<version>-alpine
Database (--database)Default: the name, with _ in the place of -.Not supported
User (--user)Default: the name of the database.Always default
Password32 random hex charactersThe same
Memory limit (--memory)Default: the limit of the server (--default-memory-limit, 512 MiB).The same
CPU limit (--cpu)Default: the limit of the server (--default-cpu-limit, 1 CPU).The same

The rules

  • Services and share one set of names.
  • A version has only digits and dots (16, 7.2). Ferry pulls the official with that tag.
  • You can change the limits later. See Memory and CPU limits.

On this page