Redis

If you prefer, Redis can be enabled as an alternative to Memcache, but this is an optional container that can be enabled for your project. You can do this by running tok config-set services redis enabled true or adding the following YAML to your .tok/config.yml file inside your site's repository:

services:
  redis:
    enabled: true

Once you have made this change, you need to run tok rebuild to initalise Redis.

The redis service is now available to your Drupal site on address: redis:6379. The Redis CLI is also installed inside the SSH/Admin container.

For example:

$ ssh umami.tok
< snip - ssh welcome message >
$ redis-cli -h redis
redis:6379
Notice something wrong? Shoot us a PR!