diff --git a/README.md b/README.md index 4b68c7c..7a7ccec 100644 --- a/README.md +++ b/README.md @@ -303,6 +303,7 @@ A collection of delicious docker recipes. - [x] amancevice/superset - [x] v2ray/official :cn: - [x] centurylink/watchtower +- [x] anapsix/webdis - [x] wekanteam/wekan - [x] yourls - [x] zookeeper diff --git a/webdis/README.md b/webdis/README.md new file mode 100644 index 0000000..76e89d0 --- /dev/null +++ b/webdis/README.md @@ -0,0 +1,27 @@ +webdis +====== + +[Webdis][1] 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…) + +## docker-compose.yml + +```yaml +webdis: + image: anapsix/webdis + ports: + - "7379:7379" + environment: + - REDIS_HOST=x.x.x.x + - REDIS_PORT=6379 + - REDIS_AUTH=null + - DATABASE=0 + - HTTP_HOST=0.0.0.0 + - HTTP_PORT=7379 + restart: unless-stopped +``` + +[1]: https://webd.is/ diff --git a/webdis/docker-compose.yml b/webdis/docker-compose.yml new file mode 100644 index 0000000..ef9bacb --- /dev/null +++ b/webdis/docker-compose.yml @@ -0,0 +1,12 @@ +webdis: + image: anapsix/webdis + ports: + - "7379:7379" + environment: + - REDIS_HOST=x.x.x.x + - REDIS_PORT=6379 + - REDIS_AUTH=null + - DATABASE=0 + - HTTP_HOST=0.0.0.0 + - HTTP_PORT=7379 + restart: unless-stopped