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
| Setting | Value |
|---|---|
| image | valkey/valkey:9.1.3-alpine |
| memory | 256 MB, LRU eviction (VOAARO_VALKEY_MAXMEMORY) |
| persistence | none: a restart empties the cache, nothing is lost |
| network | internal to the stack, never published |
| access | a 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:
cd /srv/voaaro/deploy/compose && sudo docker compose restart valkey