Hi,
I am trying to run LabelStudio in a Docker container on a VM in GCP.
The container is listening to a specific port (10xxx).
The URL https://my.domain.com/labelstudio/ is routed to the VM and port 10xxx via a GC load balancer.
I have set up the environment variables:
LABEL_STUDIO_HOST=”https://my.domain.com/labelstudio/”
LABEL_STUDIO_PORT=”10xxx”
When starting LabelStudio I see:
=> Hostname correctly is set to: https://my.domain.com/labelstudio/
=> Django URL prefix is set to: /labelstudio
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/
[…]
Starting development server at http://0.0.0.0:10xxx/
The problem starts when I try to access https://my.domain.com/labelstudio/
I get HTTP 404:
[2025-10-09 11:09:28,117] [django.request::log_response::253] [WARNING] Not Found: /labelstudio/labelstudio/
[2025-10-09 11:09:28,121] [django.server::log_message::213] [WARNING] “GET /labelstudio/ HTTP/1.1” 404 170851
I tried playing with the environment variable LABEL_STUDIO_HOST without luck.
Any help would be appreciated.
Many thanks in advance.