Skip to content

Single server

Valkey cache

Voaaro's cache and rate limits, in the stack, with no data to back up. Optional.

Valkey (free software, Redis-compatible) is part of the stack. It keeps in memory:

  • frequent reads from the webmail and the console (lists, conversations, settings, dashboard), never a confidential or encrypted message;
  • the rate limit counters (sign-in attempts, invalid API keys…), shared between all copies of the service.

Settings

SettingValue
imagevalkey/valkey:9.1.3-alpine
memory256 MB, LRU eviction (VOAARO_VALKEY_MAXMEMORY)
persistencenone: a restart empties the cache, nothing is lost
networkinternal to the stack, never published
accessa restricted user (VOAARO_VALKEY_USER, password VOAARO_VALKEY_PASSWORD written by the installer), limited to mk:* keys and a few commands; the default user is disabled

Without Valkey

Valkey is optional. If the container stops, or if you turn it off (VOAARO_VALKEY_URL= empty in .env), Voaaro keeps working normally: reads go directly to the source, limits are counted in the service's memory, and the "Cache (Valkey)" check on the Health page reports it.

To empty the cache, simply restart the container:

Shell
cd /srv/voaaro/deploy/compose && sudo docker compose restart valkey
Esc