From 513e867b5c888d20e0cca4eb0e7f1daee5f030b3 Mon Sep 17 00:00:00 2001 From: Artsiom Koltun Date: Tue, 19 Sep 2023 13:35:16 +0200 Subject: [PATCH] ci: use correct port args for opi-spdk-bridge Signed-off-by: Artsiom Koltun --- docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e2dd3a1..0b0251a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -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