Skip to content

Commit fb72bbf

Browse files
authored
fix: Update docker-compose.yml in yolo
1 parent fd783b7 commit fb72bbf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

label_studio_ml/examples/yolo/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ services:
2525

2626
# Specify the Label Studio URL and API key to access
2727
# uploaded, local storage and cloud storage files.
28-
# Do not use 'localhost' as it does not work within Docker containers.
28+
# Do not use 'localhost' or '127.0.0.1' as it does not work within Docker containers.
2929
# Use prefix 'http://' or 'https://' for the URL always.
3030
# Determine the actual IP using 'ifconfig' (Linux/Mac) or 'ipconfig' (Windows).
31-
- LABEL_STUDIO_URL=
31+
# or you can try http://host.docker.internal:<label-studio-port> if you run LS on the same machine
32+
- LABEL_STUDIO_URL=http://host.docker.internal:8080
3233
- LABEL_STUDIO_API_KEY=
3334

3435
# YOLO parameters

0 commit comments

Comments
 (0)