Introducing our new CEO Don Johnson - Read More

redis/redisinsight

Verified Publisher

By Redis

Updated 14 days ago

Redis Insight - our best official GUI for Redis

Image
Databases & Storage
24

500K+

General information

Redis Insight is an ideal tool for developers who build with any Redis deployments – including Redis Open Source, Redis Stack, Redis Enterprise Software, Redis Enterprise Cloud, and Amazon ElastiCache – and who want to optimize their development process. Redis Insight lets you visually browse and interact with data, take advantage of the advanced command line interface and diagnostic tools, and so much more.

If you enjoy Redis Insight, star our repository to let us see the value you find in what we do.

Run Redis Insight on Docker

You can install Redis Insight using one of the options described below.

  1. If you do not want to persist your Redis Insight data:
docker run -d --name redisinsight -p 5540:5540 redis/redisinsight:latest
  1. If you want to persist your Redis Insight data, first attach the Docker volume to the /data path and then run the following command:
docker run -d --name redisinsight -p 5540:5540 redis/redisinsight:latest -v redisinsight:/data

If the previous command returns a permission error, ensure that the user with ID = 1000 has the necessary permissions to access the volume provided (redisinsight in the command above).

Next, point your browser to http://localhost:5540.

Redis Insight also provides a health check endpoint at http://localhost:5540/api/health/ to monitor the health of the running container.

Configuration

The following environment variables can be set to configure Redis Insight:

You can configure Redis Insight with the following environment variables.

VariablePurposeDefaultAdditional info
RI_APP_PORTThe port that Redis Insight listens on5540See Express Documentation
RI_APP_HOSTThe host that Redis Insight connects to0.0.0.0See Express Documentation
RI_SERVER_TLS_KEYPrivate key for HTTPSn/aPrivate key in PEM format. Can be a path to a file or a string in PEM format.
RI_SERVER_TLS_CERTCertificate for supplied private keyn/aPublic certificate in PEM format. Can be a path to a file or a string in PEM format.
RI_ENCRYPTION_KEYKey to encrypt data withn/aRedis Insight stores sensitive information (database passwords, Workbench history, etc.) locally (using sqlite3). This variable allows you to store sensitive information encrypted using the specified encryption key.
Note: The same encryption key should be provided for subsequent docker run commands with the same volume attached to decrypt the information.
RI_LOG_LEVELConfigures the log level of the application.infoSupported logging levels are prioritized from highest to lowest:
  • error
  • warn
  • info
  • http
  • verbose
  • debug
  • silly
RI_FILES_LOGGERLog to filetrueBy default, you can find log files in the following folders: /data/logs
RI_STDOUT_LOGGERLog to STDOUTtrue
RI_PROXY_PATHConfigures a subpath for a proxyn/a

Redis Insight API

http://localhost:5540/api/docs

Docker Pull Command

docker pull redis/redisinsight