Run a Redis/Valkey Cache
Caching layers improve performance for web applications. Valkey (Redis-compatible) runs as a sidecar daemon with no persistent storage β purely ephemeral.
Solution
Add a Valkey daemon with no persistent volume (ephemeral cache). Disable persistence with --save '' --appendonly no. Health-check by execing valkey-cli ping and comparing stdout to "PONG". Use display: null to hide the check from the user since itβs an internal implementation detail. The app daemon declares requires: ['valkey'] to start after the cache is ready.
Reference: Main
Examples
See startos/main.ts in: immich, nextcloud, searxng, mcaptcha, bitcoin-explorer