Redis environment variables
Reference documentation for Redis-related environment variables.
Redis environment variables available for use with Self-hosted Retool deployments.
Only configure environment variables when needed. You can configure many environment variables from your organization's Settings rather than directly editing your deployment's configuration file.
You must restart your instance after setting any variables for them to take effect.
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
REDIS_DB
The database number for read and write operations, between 0
and 15
.
Type | number | ||||
Mutability |
|
Examples
REDIS_HOST
The hostname of the Redis reader endpoint that connects the Redis instance as a caching layer.
Type | string | ||||
Format | Hostname | ||||
Mutability |
|
Examples
REDIS_PASSWORD
The password for the Redis instance.
Type | string | ||||
Format | Password | ||||
Mutability |
|
Examples
REDIS_PORT
The port number of the Redis reader endpoint that connects the Redis instance as a caching layer.
Type | number | ||||
Mutability |
|
Examples
REDIS_TLS
Whether to use TLS for the Redis connection.
Type | boolean | ||||
Mutability |
|