diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..ab57cc2d58c349320f44989d48c05f76f93f7e43 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +build-redis-image: + docker build -t opstree/redis:dev -f Dockerfile . + +build-redis-exporter-image: + docker build -t opstree/redis-exporter:dev -f Dockerfile.exporter . + +setup-standalone-server-compose: + docker-compose up -f docker-compose-standalone.yaml -d + +setup-cluster-compose: + docker-compose up -f docker-compose.yaml -d diff --git a/README.md b/README.md index 6a0157300430ea3aa5e057f187c1cc6aa81c8008..52391db874865ed1d8680d89bf09aae1140e1e10 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,51 @@ -# Redis +

+ +

+# Ot-Container-Kit (Redis) + +I am a repo which have a production based Redis and Redis Expoer docker image codebase. + +## Features + +This image provides you below features:- +- [X] **Lightweight nature:-** Images are quite low in terms of size which will improve your deployment process time. +- [X] **Security Compliant:-** Images are security compliant i.e. It doesn't hold any vulnerable package. +- [X] **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** + +That's it + +## Building Image + +#### Redis Docker Image + +```shell +make build-redis-image +``` + +#### Redis Exporter Docker Image + +```shell +make build-redis-exporter-image +``` + +## Running Setup + +#### For standalone server + +```shell +make setup-standalone-server-compose +``` + +#### For cluster setup + +```shell +make setup-cluster-compose +``` diff --git a/img/redis.png b/img/redis.png new file mode 100644 index 0000000000000000000000000000000000000000..aa2013a4fc85b1992f0b4ab8aa210317193164f0 Binary files /dev/null and b/img/redis.png differ