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.
REDIS_DB
The database number for read and write operations, between 0
and 15
.
Type | number |
Configurability | Update the deployment's configuration file. |
Required | Optional |
Examples
0
REDIS_HOST
The hostname of the Redis reader endpoint that connects the Redis instance as a caching layer.
Type | string |
Format | Hostname |
Configurability | Update the deployment's configuration file. |
Required | Optional |
Examples
redis-retool
REDIS_PASSWORD
The password for the Redis instance.
Type | string |
Format | Password |
Configurability | Update the deployment's configuration file. |
Required | Optional |
Examples
password
REDIS_PORT
The port number of the Redis reader endpoint that connects the Redis instance as a caching layer.
Type | number |
Configurability | Update the deployment's configuration file. |
Required | Optional |
Examples
6379
REDIS_TLS
Whether to use TLS for the Redis connection.
Type | boolean |
Configurability | Update the deployment's configuration file. |
Required | Optional |
Examples
true