Giter Club home page Giter Club logo

docker-webdis's Introduction

Webdis (by Nicolas Favre-Félix) is a simple HTTP server which forwards commands to Redis and sends the reply back using a format of your choice. Accessing /COMMAND/arg0/arg1/.../argN[.ext] on Webdis executes the command on Redis and returns the response; the reply format can be changed with the optional extension (.json, .txt…).

Webdis implements ACL by IP/CIDR, by HTTP Auth or both with list of explicitly allowed or disallowed commands a client may use.

Documentation is available at author's site: http://webd.is/#http.

Usage

You can spin it up on Tutum.co
Deploy to Tutum

Start all-in-one (includes Redis):

docker run -d -p 7379:7379 -e LOCAL_REDIS=true anapsix/webdis

Link redis container manually and run:

docker run -d --name r4w redis
docker run -d -p 7379:7379 --link r4w:redis anapsix/webdis

Use Docker Compose:

docker-compose up

Try accessing it with curl:

  • directly:

      curl http://127.0.0.1:7379/SET/hello/world
      curl http://127.0.0.1:7379/GET/hello
    
  • or via haproxy:

      curl http://127.0.0.1:8080/SET/hello/world
      curl http://127.0.0.1:8080/GET/hello
    

TODO

Make configurable via ENV/args

docker-webdis's People

Contributors

anapsix avatar srimouli avatar

Watchers

James Cloos avatar Gaurav Sharma avatar Don Sander avatar Akshay Tyagi avatar Vishal Rai avatar  avatar  avatar satish avatar  avatar  avatar  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.