From f9c54988ec42cf4d5013c148b4d2424929ab246b Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 19 Jan 2017 22:06:07 +0800 Subject: [PATCH] add redis --- redis/README.md | 20 ++++++++++++++++++++ {redis-arm => redis/arm}/Dockerfile | 0 {redis-arm => redis/arm}/README.md | 0 {redis-arm => redis/arm}/docker-compose.yml | 0 redis/docker-compose.yml | 7 +++++++ 5 files changed, 27 insertions(+) create mode 100644 redis/README.md rename {redis-arm => redis/arm}/Dockerfile (100%) rename {redis-arm => redis/arm}/README.md (100%) rename {redis-arm => redis/arm}/docker-compose.yml (100%) create mode 100644 redis/docker-compose.yml diff --git a/redis/README.md b/redis/README.md new file mode 100644 index 0000000..bc95054 --- /dev/null +++ b/redis/README.md @@ -0,0 +1,20 @@ +redis +===== + +![](https://redis.io/images/redis-white.png) + +[Redis][1] is an open source key-value store that functions as a data structure server. + +## docker-compose.yml + +```yaml +redis: + image: redis:alpine + ports: + - "127.0.0.1:6379:6379" + volumes: + - ./data:/data + restart: always +``` + +[1]: https://redis.io/ diff --git a/redis-arm/Dockerfile b/redis/arm/Dockerfile similarity index 100% rename from redis-arm/Dockerfile rename to redis/arm/Dockerfile diff --git a/redis-arm/README.md b/redis/arm/README.md similarity index 100% rename from redis-arm/README.md rename to redis/arm/README.md diff --git a/redis-arm/docker-compose.yml b/redis/arm/docker-compose.yml similarity index 100% rename from redis-arm/docker-compose.yml rename to redis/arm/docker-compose.yml diff --git a/redis/docker-compose.yml b/redis/docker-compose.yml new file mode 100644 index 0000000..bf7ffdc --- /dev/null +++ b/redis/docker-compose.yml @@ -0,0 +1,7 @@ +redis: + image: redis:alpine + ports: + - "127.0.0.1:6379:6379" + volumes: + - ./data:/data + restart: always