| 1 | services: |
| 2 | |
| 3 | valkey9: |
| 4 | image: valkey/valkey:9 |
| 5 | command: "valkey-server --enable-debug-command yes --protected-mode no" |
| 6 | ports: |
| 7 | - "16382:6379" |
| 8 | - "6379:6379" |
| 9 | |
| 10 | valkey9-tls: |
| 11 | image: valkey/valkey:9 |
| 12 | volumes: |
| 13 | - ./contrib/tls:/tls |
| 14 | command: | |
| 15 | valkey-server --enable-debug-command yes --protected-mode no |
| 16 | --tls-port 6379 --port 0 |
| 17 | --tls-cert-file /tls/redis.crt |
| 18 | --tls-key-file /tls/redis.key |
| 19 | --tls-ca-cert-file /tls/ca.crt |
| 20 | ports: |
| 21 | - "16386:6379" |
| 22 | |
| 23 | valkey8-bundle: |
| 24 | image: valkey/valkey-bundle:8 |
| 25 | command: "valkey-server --enable-debug-command yes --protected-mode no" |
| 26 | ports: |
| 27 | - "16389:6379" |
| 28 | |
| 29 | valkey8: |
| 30 | image: valkey/valkey:8 |
| 31 | command: "valkey-server --enable-debug-command yes --protected-mode no" |
| 32 | ports: |
| 33 | - "16384:6379" |
| 34 | |
| 35 | redis8: |
| 36 | image: redis:8.6.3 |
| 37 | pull_policy: always |
| 38 | command: "redis-server --enable-debug-command yes --protected-mode no" |
| 39 | ports: |
| 40 | - "16388:6379" |
| 41 | |
| 42 | redis88: |
| 43 | image: redis:8.8 |
| 44 | pull_policy: always |
| 45 | command: "redis-server --enable-debug-command yes --protected-mode no" |
| 46 | ports: |
| 47 | - "16488:6379" |
| 48 | |
| 49 | pwd-redis8: |
| 50 | image: redis:8.6.3 |
| 51 | pull_policy: always |
| 52 | command: "redis-server --protected-mode no --requirepass redis-password" |
| 53 | ports: |
| 54 | - "16380:6379" |
| 55 | |
| 56 | redis7: |
| 57 | image: redis:7.4 |
| 58 | command: "redis-server --enable-debug-command yes --protected-mode no" |
| 59 | ports: |
| 60 | - "16385:6379" |
| 61 | |
| 62 | redis7-tls: |
| 63 | image: redis:7.4 |
| 64 | volumes: |
| 65 | - ./contrib/tls:/tls |
| 66 | command: | |
| 67 | redis-server --enable-debug-command yes --protected-mode no |
| 68 | --tls-port 6379 --port 0 |
| 69 | --tls-cert-file /tls/redis.crt |
| 70 | --tls-key-file /tls/redis.key |
| 71 | --tls-ca-cert-file /tls/ca.crt |
| 72 | ports: |
| 73 | - "16387:6379" |
| 74 | |
| 75 | pwd-user-redis7: |
| 76 | image: redis:7.4 |
| 77 | command: "redis-server --protected-mode no --requirepass dummy --user exporter on +CLIENT +INFO +SELECT +SLOWLOG +LATENCY '>exporter-password'" |
| 78 | ports: |
| 79 | - "16390:6379" |
| 80 | |
| 81 | redis6: |
| 82 | image: redis:6.2 |
| 83 | command: "redis-server --protected-mode no" |
| 84 | ports: |
| 85 | - "16379:6379" |
| 86 | |
| 87 | redis5: |
| 88 | image: redis:5 |
| 89 | command: "redis-server" |
| 90 | ports: |
| 91 | - "16383:6379" |
| 92 | |
| 93 | keydb-01: |
| 94 | image: "eqalpha/keydb:x86_64_v6.3.4" |
| 95 | command: "keydb-server --protected-mode no" |
| 96 | ports: |
| 97 | - "16401:6379" |
| 98 | |
| 99 | keydb-02: |
| 100 | image: "eqalpha/keydb:x86_64_v6.3.1" |
| 101 | command: "keydb-server --protected-mode no --active-replica yes --replicaof keydb-01 6379" |
| 102 | ports: |
| 103 | - "16402:6379" |
| 104 | |
| 105 | valkey-cluster: |
| 106 | image: oliver006/valkey-cluster:8.1.3 |
| 107 | environment: |
| 108 | - IP=0.0.0.0 |
| 109 | ports: |
| 110 | - 7000-7005:7000-7005 |
| 111 | - 17000-17005:7000-7005 |
| 112 | |
| 113 | redis88-cluster: |
| 114 | image: oliver006/redis-cluster:8.8.0 |
| 115 | environment: |
| 116 | - IP=127.0.0.1 |
| 117 | - INITIAL_PORT=47000 |
| 118 | - LANG=C.UTF-8 |
| 119 | - LC_ALL=C.UTF-8 |
| 120 | ports: |
| 121 | - 47000-47005:47000-47005 |
| 122 | |
| 123 | valkey-cluster-password: |
| 124 | image: oliver006/valkey-cluster:8.1.3 |
| 125 | environment: |
| 126 | - IP=0.0.0.0 |
| 127 | - INITIAL_PORT=7006 |
| 128 | - VALKEY_PASSWORD=redis-password |
| 129 | ports: |
| 130 | - "17006:7006" |
| 131 | |
| 132 | |
| 133 | valkey-sentinel: |
| 134 | image: valkey/valkey:9 |
| 135 | depends_on: |
| 136 | - valkey8 |
| 137 | ports: |
| 138 | - "26379:26379" |
| 139 | command: > |
| 140 | sh -c 'echo "sentinel resolve-hostnames yes" > /etc/sentinel.conf && |
| 141 | echo "sentinel monitor mymaster valkey8 6379 1" >> /etc/sentinel.conf && |
| 142 | echo "sentinel down-after-milliseconds mymaster 1000" >> /etc/sentinel.conf && |
| 143 | echo "sentinel failover-timeout mymaster 5000" >> /etc/sentinel.conf && |
| 144 | echo "sentinel parallel-syncs mymaster 1" >> /etc/sentinel.conf && |
| 145 | valkey-server /etc/sentinel.conf --sentinel' |
| 146 | |
| 147 | |
| 148 | tile38: |
| 149 | image: tile38/tile38:latest |
| 150 | ports: |
| 151 | - "19851:9851" |