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 <[email protected]>
  • Loading branch information
glimchb committed Sep 18, 2023
1 parent 243bd72 commit 021ce36
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 @@ -14,10 +14,20 @@ services:
- "50051:50051"
networks:
- opi
depends_on:
redis:
condition: service_healthy
command: /opi-marvell-bridge -grpc_port=50051 -http_port=8082 -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-gw-test:
image: curlimages/curl:8.3.0
networks:
Expand Down

0 comments on commit 021ce36

Please sign in to comment.