Giter VIP home page Giter VIP logo

docker-redis's Introduction

docker-redis

Alpine based Dockerfile for a redis image.

This repository has moved to: https://gitlab.com/container-email/redis

Differs from official docker image which by default forces write every second, this version lets os decide. It uses alpine version of redis with musl memory managment, the official docker version is compiled wih jemalloc. It also uses aof and rdb for better error recovery. If the "STUNNEL" environment variable is set then an stunnel server is started listeneing on port 6479 for ssl/tls connections, protected-mode is enabled so redis will only listen to the loopback interface. An stunnel client is then needed to connect, and the file /etc/stunnel/psk.txt must exist with the pre shared key in the format here

Docker Pulls Docker Stars Docker Image Version (tag latest semver) Github SHA

Github

Github Repository: https://github.com/a16bitsysop/docker-redis

Environment Variables

Name Desription Default
TIMEZONE Timezone to use inside the container, eg Europe/London unset
SIZE Increase in size that causes a rewrite to disc 16mb
PERCENT Percentage increase that causes a rewrite to disc 50
STUNNEL Use stunnel to encrypt redis traffic on port 6479 if set unset

Examples

To run a container with docker managed volume mount on /data on network MYNET (without exposing ports)

#docker container run --net MYNET --mount source=redis-data,destination=/data \
-d --name redis a16bitsysop/redis

docker-redis's People

Contributors

a16bitsysop avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.