Skip to content

Redis

Redis is an in-memory data store ideal for caching, rate limiting, queues, and other latency-sensitive workloads. Choose this add-on when your components need fast key-value access or pub/sub messaging.

Paste this entry into the addons list in diploi.yaml to add Redis to your project.

addons:
- name: Redis
identifier: redis
package: https://github.com/diploi/addon-redis#v7.4-url

What Redis defines in a deployment.

Redis sets these values in every deployment. Components can import them with env.include as redis.*. Defaults marked generated are unique to each deployment.

Parameters are set on the deployment’s Setup tab.

Persistent Storage

Keep a snapshot of the DB on the disk. Optional, off by default.

Variable Type Default Description
REDIS_SAVE_INTERVAL integer 60 Save Interval in Seconds
REDIS_URL string generated

Uses the official redis Docker image.