From fb72bbf166895c5429077c82ef29ed33f974b825 Mon Sep 17 00:00:00 2001 From: Max Tkachenko Date: Sat, 9 Nov 2024 14:28:24 +0000 Subject: [PATCH] fix: Update docker-compose.yml in yolo --- label_studio_ml/examples/yolo/docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/label_studio_ml/examples/yolo/docker-compose.yml b/label_studio_ml/examples/yolo/docker-compose.yml index 931d1248..9145a33c 100644 --- a/label_studio_ml/examples/yolo/docker-compose.yml +++ b/label_studio_ml/examples/yolo/docker-compose.yml @@ -25,10 +25,11 @@ services: # Specify the Label Studio URL and API key to access # uploaded, local storage and cloud storage files. - # Do not use 'localhost' as it does not work within Docker containers. + # Do not use 'localhost' or '127.0.0.1' as it does not work within Docker containers. # Use prefix 'http://' or 'https://' for the URL always. # Determine the actual IP using 'ifconfig' (Linux/Mac) or 'ipconfig' (Windows). - - LABEL_STUDIO_URL= + # or you can try http://host.docker.internal: if you run LS on the same machine + - LABEL_STUDIO_URL=http://host.docker.internal:8080 - LABEL_STUDIO_API_KEY= # YOLO parameters