Skip to content

Commit

Permalink
add redis.yml backup file
Browse files Browse the repository at this point in the history
  • Loading branch information
yisraelU committed Aug 21, 2024
1 parent 5520568 commit 591697c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: "Starting up Redis 🐳"
- name: "Starting up Valkey 🐳"
run: docker compose up -d

- name: "Cache for sbt & coursier ♨️"
Expand All @@ -36,5 +36,5 @@ jobs:
- name: "Test for Binary Compatibility 📦"
run: nix develop -c sbt 'mimaReportBinaryIssuesIfRelevant'

- name: "Shutting down Redis 🐳"
- name: "Shutting down Valkey 🐳"
run: docker compose down
35 changes: 35 additions & 0 deletions redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: "3.0"
services:
SingleNodeRedis:
restart: always
image: redis:7.0.10
ports:
- "6379:6379"
environment:
- DEBUG=false
command: redis-server --notify-keyspace-events KEA

ReplicaNode:
restart: always
image: redis:7.0.10
ports:
- "6380:6379"
command: redis-server --replicaof SingleNodeRedis 6379
links:
- SingleNodeRedis:SingleNodeRedis
environment:
- DEBUG=false

RedisCluster:
restart: always
image: grokzen/redis-cluster:7.0.10
ports:
- "30001:30001"
- "30002:30002"
- "30003:30003"
- "30004:30004"
- "30005:30005"
- "30006:30006"
environment:
- INITIAL_PORT=30001
- DEBUG=false

0 comments on commit 591697c

Please sign in to comment.