Skip to content

Commit

Permalink
feat(db): add redis to compose file
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
  • Loading branch information
glimchb authored and artek-koltun committed Sep 19, 2023
1 parent 8463be9 commit 5dbfd9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,20 @@ services:
- "50051:50051"
networks:
- opi
depends_on:
redis:
condition: service_healthy
command: /opi-intel-bridge -port=50051 -spdk_addr /var/tmp/spdk.sock
healthcheck:
test: grpcurl -plaintext localhost:50051 list || exit 1

redis:
image: redis:7.2.1-alpine3.18
networks:
- opi
healthcheck:
test: ["CMD", "redis-cli", "--raw", "incr", "ping"]

opi-test:
image: docker.io/namely/grpc-cli
networks:
Expand Down

0 comments on commit 5dbfd9b

Please sign in to comment.