Skip to content

Commit b22f330

Browse files
authored
chore: replace bitnami redis images with official images (#1689)
1 parent 0187ab5 commit b22f330

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/ci-instrumentation-with-services.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,12 @@ jobs:
212212
build: true
213213
services:
214214
redis:
215-
image: bitnami/redis:6.2
215+
image: redis:6.2
216216
ports:
217217
- 6379:6379
218+
command: ["redis-server", "--appendonly", "yes", "--requirepass", "${REDIS_PASSWORD}"]
218219
options: >-
219-
--health-cmd "redis-cli ping"
220+
--health-cmd "sh -c 'redis-cli -a \"$REDIS_PASSWORD\" ping | grep PONG'"
220221
--health-interval 10s
221222
--health-timeout 5s
222223
--health-retries 5

docker-compose.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,19 @@ services:
198198
- postgres_socket:/var/run/postgresql
199199

200200
redis:
201-
image: bitnami/redis:6.2
201+
image: redis:6.2
202202
environment:
203203
- REDIS_PASSWORD=passw0rd
204204
volumes:
205205
- redis_data:/data
206206
ports:
207207
- "16379:6379"
208+
command: ["redis-server", "--appendonly", "yes", "--requirepass", "${REDIS_PASSWORD}"]
209+
options: >-
210+
--health-cmd "sh -c 'redis-cli -a \"$REDIS_PASSWORD\" ping | grep PONG'"
211+
--health-interval 10s
212+
--health-timeout 5s
213+
--health-retries 5
208214
209215
rabbitmq:
210216
image: rabbitmq:3.8-alpine

0 commit comments

Comments
 (0)