Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/williamlsh/redis-cluster

Deploy containerized Redis Cluster with Docker Compose.
https://github.com/williamlsh/redis-cluster

docker-compose redis redis-cluster shell-scripts

Last synced: 14 days ago
JSON representation

Deploy containerized Redis Cluster with Docker Compose.

Awesome Lists containing this project

README

        

# Deploy containerized Redis Cluster with Docker Compose

The most simple way to create a Redis Cluster with Docker compose. For a general guide, please refer to [How to Deploy Containerized Redis Cluster](https://williamlsh.github.io/posts/how-to-deploy-containerized-redis-cluster/).

## Steps to deployment

Creating Redis Cluster with 3 masters and 3 slaves.

```bash
sudo make all
```

Testing failover.

```bash
sudo make failover
```

Adding a new master.

```bash
sudo make new-master
```

Adding a new slave.

```bash
sudo make new-slave
```

Checking cluster status.

```bash
sudo make check-cluster
```

Viewing all logs.

```bash
sudo make logs
```

More commands, please refer to Makefile.

## Author

William

## License

MIT License