Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.17 KB

File metadata and controls

38 lines (25 loc) · 1.17 KB

Redis

Lithops with Redis as storage backend.

Installation

  1. Install Redis >= 5.

  2. Secure your installation by setting a password in the redis configuration file.

Configuration

  1. Edit your lithops config file and add the following keys:
    lithops:
        storage: redis

    redis:
        host : <REDIS_HOST_IP>
        port : <REDIS_HOST_PORT>
        password: <REDIS_PASSWORD>

Summary of configuration keys for Redis

Group Key Default Mandatory Additional info
redis host localhost no The host ip adress where you installed the Redis server.
redis port 6379 no The port where the redis server is listening
redis username None no The username (if any)
redis password None no The password you set in the Redis configuration file (if any)
redis db 0 no Number of database to use
redis ssl False no Activate ssl conection
redis ... no All the parameters set in this lithops redis config section are directly passed to a reds.Redis() instance, so you can set all the same parameters if necessary.