Cache
Cache for data is using Redis. This is different from cache, the feature for requests (returning 304).
In this context, cache could be decribed as a real-time in-memory database for ephemeral data.
Docker image
Image for Redis is using Bitnami version. The Official Redis image on Docker Hub recommends to set a password in a config file. Version from Bitnami can be configured via ENV variables. Theses images from Bitnami are very up-to-date from official images.
For now, no persistence is required, having ephemeral data without any big impact of losing it. Using version 7.0.6 and using default port 6379.
Running Redis locally:
docker run -d --name simops-redis \
-p 6379:6379 --restart=always \
-e REDIS_PASSWORD=redis \
bitnami/redis:7.2.4
To test if Redis is OK:
$ redis-cli -h localhost -p 6379 -a somepa$$w0rd ping
You receive a PONG answer if it's the case.