Skip to content

Commit

Permalink
refactor docker-compose ports bind, hostname, network
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Mar 27, 2024
1 parent 3548eab commit 395c361
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ services:
- ./test/config/ml-metadata:/tmp/shared
model-registry:
image: quay.io/opendatahub/model-registry:latest
command: ["proxy", "--mlmd-hostname", "localhost", "--mlmd-port", "9090"]
command: ["proxy", "--hostname", "0.0.0.0", "--mlmd-hostname", "mlmd-server", "--mlmd-port", "8080"]
container_name: model-registry
network_mode: host
ports:
- "8080:8080"
depends_on:
- mlmd-server

0 comments on commit 395c361

Please sign in to comment.