You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ Install `docker` on your system. 1.0 or higher is recommended. Instructions can
20
20
21
21
# Usage
22
22
23
+
If you want to use `docker-compose (fig)` please read next section.
24
+
23
25
Download the latest build from docker hub with `docker pull grokzen/redis-cluster`
24
26
25
27
To build the image run either `make build` or `make rebuild`. It will be built to the image name `grokzen/redis-cluster`.
@@ -30,6 +32,16 @@ Test to connect to the cluster with `redis-cli -p 7000`. If you do not want to i
30
32
31
33
32
34
35
+
# Docker compose (fig)
36
+
37
+
This image contains a `compose.yml` file that can be used with `docker-compose (fig)` to run the image. Docker compose is simpler to use then the old `Makefile`.
38
+
39
+
Build the image with `docker-compose -f compose.yml build`.
40
+
41
+
Start the image after building with `docker-compose -f compose.yml up`. Add `-d` to run the server in background/detatched mode.
42
+
43
+
44
+
33
45
# Known Issues
34
46
35
47
If you get a error when rebuilding the image that docker can't do dns lookup on `archive.ubuntu.com` then you need to modify docker to use google IPv4 DNS lookups. Read the following link http://dannytsang.co.uk/docker-on-digitalocean-cannot-resolve-hostnames/ and uncomment the line in `/etc/default/docker` and restart your docker daemon and it should be fixed.
0 commit comments