diff --git a/services/backup/docker-server/Dockerfile b/services/backup/docker-server/Dockerfile --- a/services/backup/docker-server/Dockerfile +++ b/services/backup/docker-server/Dockerfile @@ -9,6 +9,7 @@ COPY services/backup/docker-server/contents /transferred COPY native/cpp/CommonCpp/grpc/protos/backup.proto /transferred/server/protos/backup.proto +COPY native/cpp/CommonCpp/grpc/protos/blob.proto /transferred/server/protos/blob.proto RUN /transferred/build_server.sh diff --git a/services/backup/docker-server/contents/server/generate.sh b/services/backup/docker-server/contents/server/generate.sh --- a/services/backup/docker-server/contents/server/generate.sh +++ b/services/backup/docker-server/contents/server/generate.sh @@ -5,5 +5,6 @@ echo "generating files from protos..." protoc -I=./protos --cpp_out=_generated --grpc_out=_generated --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./protos/backup.proto +protoc -I=./protos --cpp_out=_generated --grpc_out=_generated --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./protos/blob.proto echo "success - code generated from protos" diff --git a/services/docker-compose.yml b/services/docker-compose.yml --- a/services/docker-compose.yml +++ b/services/docker-compose.yml @@ -1,4 +1,7 @@ version: "3.9" +networks: + services-net: + name: services-net services: tunnelbroker-server: build: @@ -21,6 +24,8 @@ context: ../ image: commapp/backup-base:1.2 backup-server: + networks: + - services-net build: dockerfile: services/backup/docker-server/Dockerfile context: ../ @@ -40,6 +45,8 @@ context: ../ image: commapp/blob-base:1.3 blob-server: + networks: + - services-net build: dockerfile: services/blob/docker-server/Dockerfile context: ../