From 4af9271bec525e112e14594800035c75c18cd25d Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Thu, 12 Jul 2018 21:25:16 +0530 Subject: [PATCH] release 3.0.6 --- README.md | 14 +++++++------- VERSION | 1 + docker-compose.yml | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 VERSION diff --git a/README.md b/README.md index 9ccd7ca..0cd83e1 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co > **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/redis) ```bash -docker pull sameersbn/redis:latest +docker pull sameersbn/redis:3.0.6 ``` Alternatively you can build the image yourself. @@ -68,7 +68,7 @@ Start Redis using: docker run --name redis -d --restart=always \ --publish 6379:6379 \ --volume /srv/docker/redis:/var/lib/redis \ - sameersbn/redis:latest + sameersbn/redis:3.0.6 ``` *Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)* @@ -81,7 +81,7 @@ You can customize the launch command of Redis server by specifying arguments to docker run --name redis -d --restart=always \ --publish 6379:6379 \ --volume /srv/docker/redis:/var/lib/redis \ - sameersbn/redis:latest --appendonly yes + sameersbn/redis:3.0.6 --appendonly yes ``` Please refer to http://redis.io/topics/config for further details. @@ -108,7 +108,7 @@ docker run --name redis -d --restart=always \ --publish 6379:6379 \ --env 'REDIS_PASSWORD=redispassword' \ --volume /srv/docker/redis:/var/lib/redis \ - sameersbn/redis:latest + sameersbn/redis:3.0.6 ``` Clients connecting to the Redis server will now have to authenticate themselves with the password `redispassword`. @@ -123,7 +123,7 @@ By default the Redis server logs are sent to the standard output. Using the [Com docker run --name redis -d --restart=always \ --publish 6379:6379 \ --volume /srv/docker/redis:/var/lib/redis \ - sameersbn/redis:latest --logfile /var/log/redis/redis-server.log + sameersbn/redis:3.0.6 --logfile /var/log/redis/redis-server.log ``` To access the Redis logs you can use `docker exec`. For example: @@ -141,7 +141,7 @@ To upgrade to newer releases: 1. Download the updated Docker image: ```bash - docker pull sameersbn/redis:latest + docker pull sameersbn/redis:3.0.6 ``` 2. Stop the currently running image: @@ -161,7 +161,7 @@ To upgrade to newer releases: ```bash docker run --name redis -d \ [OPTIONS] \ - sameersbn/redis:latest + sameersbn/redis:3.0.6 ``` ## Shell Access diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..818bd47 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +3.0.6 diff --git a/docker-compose.yml b/docker-compose.yml index 3b3e371..d976a10 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ Redis: - image: sameersbn/redis:latest + image: sameersbn/redis:3.0.6 ports: - "6379:6379" volumes: