A production optimized redis docker image
Go to file
Fatih Sarhan 1c4f2aa473
feat(ci): add redis exporter auto-version checking (#99)
Signed-off-by: Fatih Sarhan <f9n@protonmail.com>
2025-08-18 11:29:30 +08:00
.github/workflows feat(ci): add redis exporter auto-version checking (#99) 2025-08-18 11:29:30 +08:00
img Added Exporter image 2020-03-21 23:15:17 +05:30
.gitignore Sentinel - support hostname resolve and annonce (#94) 2025-02-28 10:28:04 +08:00
Dockerfile Update alpine (#98) 2025-08-18 10:51:56 +08:00
Dockerfile.exporter Update alpine (#98) 2025-08-18 10:51:56 +08:00
Dockerfile.sentinel Update alpine (#98) 2025-08-18 10:51:56 +08:00
Jenkinsfile Jenkinsfile for RedisExpoter and Config file 2020-03-20 20:25:50 +05:30
Jenkinsfile.redisExpoter Jenkinsfile for RedisExpoter and Config file 2020-03-20 20:25:50 +05:30
LICENSE Create LICENSE 2024-12-10 18:57:59 +05:30
Makefile Upgrade alpine version (#77) 2024-09-18 20:31:50 +08:00
README.md Fix PID file error in Docker containers (#65) 2023-12-22 00:31:57 +05:30
config.properties Jenkinsfile for RedisExpoter and Config file 2020-03-20 20:25:50 +05:30
create-cluster.sh Dockerfile & shell files lint (#58) 2023-10-07 01:25:26 +05:30
docker-compose-standalone.yaml Added compose setup for cluster and standalone mode 2020-03-22 14:51:46 +05:30
docker-compose.yaml Updated image for node updates 2020-07-30 16:10:15 +05:30
entrypoint-sentinel.sh Sentinel - support hostname resolve and annonce (#94) 2025-02-28 10:28:04 +08:00
entrypoint.sh fix: slave connect to master when tls enable (#86) 2024-09-18 17:43:30 +08:00
healthcheck-Sentinel.sh Support custom sentinel port (#64) 2023-12-18 12:23:33 +05:30
healthcheck.sh Support custom redis port (#62) 2023-12-08 14:43:05 +08:00
redis.conf [Development][Add] Added ipv6 support in redis image (#17) 2022-10-30 22:44:29 +05:30
redisExpoter_config.properties Added Exporter image 2020-03-21 23:16:27 +05:30
sentinel.conf Sentinel - support hostname resolve and annonce (#94) 2025-02-28 10:28:04 +08:00
setupMasterSlave.sh fix insecure password passing during redis-cluster startup (#27) 2023-07-02 01:54:59 +05:30

README.md

Ot-Container-Kit (Redis)

I am a repo which have a production based Redis and Redis Exporter docker image codebase.

Features

This image provides you below features:-

  • Lightweight nature:- Images are quite low in terms of size which will improve your deployment process time.
  • Security Compliant:- Images are security compliant i.e. It doesn't hold any vulnerable package.
  • Best Practices:- We have tried to follow the best practices for writing the Docker images.

Pre-requisites

Here are the list of pre-requisites which is required for development and setup purpose.

  • Docker Engine
  • Docker Compose

Image Compatibility

The following table shows the compatibility between the Operator Version, Redis Image, Sentinel Image, and Exporter Image:

Operator Version Redis Image Sentinel Image Exporter Image
v0.15.2 v7.0.13 v7.0.13 v1.48.0
v0.15.1 v7.0.12 v7.0.12 v1.48.0
v0.15.0 v7.0.11 v7.0.11 v1.48.0
v0.14.0 v7.0.7 v7.0.7 v1.48.0
v0.13.0 v6.2.5 nil v1.48.0

That's it

Note : latest tag would be comptabile with latest operator version.

Building Image

Redis Docker Image

make build-redis

Redis Exporter Docker Image

make build-redis-exporter

Running Setup

For standalone server

make setup-standalone-server-compose

For cluster setup

make setup-cluster-compose