Skip to main content

Redis environment variables

Redis environment variables available for use with Self-hosted Retool deployments.

REDIS_DB

The database number for read and write operations, between 0 and 15.

If unsure, set to the default port of 0.

REDIS_DB=0

REDIS_HOST

The hostname of the Redis reader endpoint that connects the Redis instance as a caching layer.

REDIS_HOST=redis-retool

REDIS_PASSWORD

The password for the Redis instance.

REDIS_PASSWORD=pw

REDIS_PORT

The port number for the Redis instance. By default, this should be 6379.

REDIS_PORT=6379

REDIS_TLS

Connect to the Redis instance if using TLS.

REDIS_TLS=true