Skip to content

Commit

Permalink
local testing also from Matteo's end, tests are passing.
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Apr 11, 2024
1 parent a09e578 commit 7fd1620
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 2 additions & 9 deletions docker-compose-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ services:
image: gcr.io/tfx-oss-public/ml_metadata_store_server:1.14.0
container_name: mlmd-server
ports:
- target: 8080
published: 9090
protocol: tcp
mode: host
- "9090:8080"
environment:
- METADATA_STORE_SERVER_CONFIG_FILE=/tmp/shared/conn_config.pb
volumes:
Expand All @@ -16,13 +13,9 @@ services:
build:
context: .
dockerfile: Dockerfile
network: host
command: ["proxy", "--hostname", "0.0.0.0", "--mlmd-hostname", "mlmd-server", "--mlmd-port", "8080"]
container_name: model-registry
ports:
- target: 8080
published: 8080
protocol: tcp
mode: host
- "8080:8080"
depends_on:
- mlmd-server
4 changes: 3 additions & 1 deletion scripts/install_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
# Mac OSX
OS="osx"
fi
# TODO: support for arm
ARCH="x86_64"
if [[ "$(uname -m)" == "arm"* ]]; then
ARCH="arm64"
fi

mkdir -p ${SCRIPT_DIR}/../bin

Expand Down

0 comments on commit 7fd1620

Please sign in to comment.