From ae7ca38de2ff764a2e81aa7db04207811ae5bac3 Mon Sep 17 00:00:00 2001 From: MVarshini Date: Thu, 13 Jun 2024 19:40:36 +0530 Subject: [PATCH] host mapping --- local-compose.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-compose.sh b/local-compose.sh index dd20fa5f..6abb6db7 100755 --- a/local-compose.sh +++ b/local-compose.sh @@ -16,4 +16,4 @@ podman build -f frontend/frontend.containerfile --tag frontend # NOTE: add --network=host to test against a local containerized Horreum podman run -d --name=back -p ${CPT_BACKEND_PORT}:8000 --network=host -v "${CPT_CONFIG}:/backend/ocpperf.toml:Z" localhost/backend -podman run -d --name=front -p ${CPT_FRONTEND_PORT}:3000 localhost/frontend +podman run -d --name=front --net=host -p ${CPT_FRONTEND_PORT}:3000 localhost/frontend