Skip to content

Commit

Permalink
ci: use correct port args for opi-spdk-bridge
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com>
  • Loading branch information
artek-koltun authored and glimchb committed Sep 19, 2023
1 parent 0bb4cb1 commit c9aee6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ services:
./rpc.py nvmf_subsystem_add_host nqn.2016-06.io.spdk:cnode1 nqn.2014-08.org.nvmexpress:uuid:feb98abe-d51f-40c8-b348-2753f3571d3c && \
./rpc_http_proxy.py 0.0.0.0 9009 spdkuser spdkpass'
healthcheck:
test: ["CMD-SHELL", "python3 /usr/libexec/spdk/scripts/rpc.py spdk_get_version || exit 1"]
test:
[
"CMD-SHELL",
"python3 /usr/libexec/spdk/scripts/rpc.py spdk_get_version || exit 1"
]
interval: 6s
retries: 5
start_period: 20s
Expand All @@ -53,7 +57,7 @@ services:
depends_on:
spdk:
condition: service_healthy
command: /opi-spdk-bridge -port=50051 -spdk_addr=/var/tmp/spdk.sock
command: /opi-spdk-bridge -grpc_port=50051 -http_port=8082 -spdk_addr=/var/tmp/spdk.sock
healthcheck:
test: grpcurl -plaintext localhost:50051 list || exit 1

Expand Down

0 comments on commit c9aee6e

Please sign in to comment.