diff --git a/testing/compose.yaml b/testing/compose.yaml index d28cc1a..551ca02 100644 --- a/testing/compose.yaml +++ b/testing/compose.yaml @@ -2,6 +2,7 @@ services: sos: image: gitea.jde.nz/public/simple-object-storage:test container_name: sos-test + network_mode: "host" ports: - 7703:7703 restart: no diff --git a/testing/test-docker.sh b/testing/test-docker.sh index 718d97c..bc95d81 100755 --- a/testing/test-docker.sh +++ b/testing/test-docker.sh @@ -84,7 +84,7 @@ if ! wait_for_container "sos-test"; then fi # run the tests. Docker inside docker support! -"${SCRIPT_DIR}/test.sh" "http://sos-test:7703" +"${SCRIPT_DIR}/test.sh" "http://127.0.0.1:7703" RESULT=$? # clean up.