FerryDocs

Add Redis

A Redis datastore works the same way as Postgres. Create it, then give its URL with a reference.

Edit on GitHub
Terminal
$ 

What the two commands do

CommandResult
ferry db create cache --kind redis --waitA datastore with the name cache.
ferry env set notes …notes gets REDIS_URL with a , and restarts.

In the containers of notes, the value is redis://default:<password>@cache:6379.

See Datastores, Environment and Jobs & cron for the full story.

On this page