HumanSignal / HumanSignal/label-studio
label studio host with custom domain name
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
**Describe the bug**
LABEL_STUDIO_HOST does not work as advertised
**To Reproduce**
Steps to reproduce the behavior:
1. pull latest docker image of label-studio
2. run with `docker run -it --rm -p 33001:8080 heartexlabs/label-studio:latest label-studio --host http://localhost:33001/test/
3. Open browser and go to localhost/test
4. get redirected to http://localhost:33001/test/user/login/ and its 404 page
**Expected behavior**
To see the front page of label studio
**Screenshots**
```
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/
=> Hostname correctly is set to: http://localhost:33001/test/
=> Django URL prefix is set to: /test
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/
...
[2025-08-21 09:02:35,721] [django.server::log_message::213] [WARNING] "GET /test/react-app/main.css?v=fb9012 HTTP/1.1" 404 170815
[2025-08-21 09:02:35,721] [django.server::log_message::213] [WARNING] "GET /test/react-app/main.css?v=fb9012 HTTP/1.1" 404 170815
[2025-08-21 09:02:35,721] [django.server::log_message::213] [WARNING] "GET /test/static/css/main.9be72da65a79.css HTTP/1.1" 404 170815
[2025-08-21 09:02:35,721] [django.server::log_message::213] [WARNING] "GET /test/static/css/main.9be72da65a79.css HTTP/1.1" 404 170815
```
**Environment (please complete the following information):**
- MacOS 15.6
- Label Studio Docker digest f4481a772b19c6fe0a4577228cc51134deeaaddd463ea96692680c02c04debcc
Would greatly appreciate if anyone could tell me what I did wrong here. Would be great if the static url prefix could be modified too.
Contributor guide
Assessment
This issue has not been assessed yet.