Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/williamlsh/redis-cluster
- Owner: williamlsh
- License: mit
- Created: 2020-08-06T07:01:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T03:15:32.000Z (over 2 years ago)
- Last Synced: 2023-03-06T00:27:50.983Z (almost 2 years ago)
- Topics: docker-compose, redis, redis-cluster, shell-scripts
- Language: Shell
- Homepage: https://williamlsh.github.io/posts/how-to-deploy-containerized-redis-cluster/
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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