Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Tert0/redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Docker Redis Image

Features

  • Activate Redis Modules (Preinstalled or Custom)
  • Preinstalled Redis Modules
    • Redis JSON
    • Redis Search
    • Redis Bloom
    • Redis Timeseries
  • Set Custem Start Paramterers
  • Set Password, Memory Limit with an Environment Variable
  • Supports: amd64 and arm64

Important: arm/v7(arm32) is currently not supported

Environment Variables

REDIS_MODULES

A list of all Redis Modules to activate. The list will get splitted by , and ;. You can either enter the name of a default module or the path to the module. If this argument is not given, it will be REDIS_JSON,REDIS_SEARCH by default.

Default Modules:

  • REDIS_JSON
  • REDIS_SEARCH
  • REDIS_BLOOM
  • REDIS_TIMESERIES
  • REDIS_GRAPH

Currently not supported

  • REDIS_GEARS
  • REDIS_AI

REDIS_PARAMETERS

You can give custom parameters to the redis-server. These paramters can be found in the Redis Docs.

REDIS_PASSWORD

You can set the Password for the Redis Database. This will set with the paramter --requirepass <password>

REDIS_MAXMEMORY

You can set the Redis maximum Memory. This will set with the paramter --maxmemory <memory-limit>

Important

You have to specify the unit. (e.g. `kb`, `mb`, `gb`)

License

This Project is released under the MIT License