Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eirikur-ari/redis-test-cluster
Docker compose setup with Redis Cluster and Redisinsight
https://github.com/eirikur-ari/redis-test-cluster
docker-compose redis-cluster redisinsight
Last synced: 2 days ago
JSON representation
Docker compose setup with Redis Cluster and Redisinsight
- Host: GitHub
- URL: https://github.com/eirikur-ari/redis-test-cluster
- Owner: eirikur-ari
- License: other
- Created: 2023-04-11T22:38:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-07T21:10:34.000Z (about 1 month ago)
- Last Synced: 2024-12-07T22:18:36.168Z (about 1 month ago)
- Topics: docker-compose, redis-cluster, redisinsight
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis Cluster
This project is modelled after the setup from the blog post: [Create Redis Cluster by Docker Compose](https://fissssssh.aiursoft.cn/posts/create-redis-cluster-by-docker-compose/) by [fissssssh](https://github.com/fissssssh). It comes with some minor adjustments that made my experiments easier## Components
This setup consists out of the following components* redis, version 7.0.10-alpine
* redisinsight, version 1.13.1### Redisinsight
**Web UI: http://localhost:8001**## Starting for the first time
### 1. Create Config
Will create data folder with required configuration for each container```
sh create-config.sh
```### 2. Change permission
Fix RedisInsights volume ownership
```
chown -R 1001 ./data/redisinsight/db
```### 3. Create and start containers
```
docker-compose up -d
```### 4. Create the cluster
Will create a cluster of 3 primary shards with 1 replica node per shard
```
sh create-cluster.sh
```