Label Studio is a multi-type data labeling and annotation tool with a standardized output format
2.6K
A custom Docker base image extending heartexlabs/label-studio with a pre-configured entrypoint and automatic template initialization script.
Copyright Notice This image is built on top of the official Label Studio Docker image by Heartex Labs. Base image:
heartexlabs/label-studio Label Studio is licensed under the Apache 2.0 License.
This image serves as a reusable base for Label Studio deployments. It adds:
entrypoint.sh wrapperinit_template.sh script that auto-seeds a template project on first startupChild images extend this base to inject project-specific annotation templates.
label-studio/
├── Dockerfile # Builds the base image
├── entrypoint.sh # Wrapper: runs init_template.sh in background, then starts Label Studio
├── init_template.sh # Seeds a template project via Django ORM on first startup
├── requirements.txt # Extra Python dependencies to install into the Label Studio venv
└── template/ # (Optional) custom annotation templates — handled by child images
entrypoint.shWraps the default Label Studio startup:
init_template.sh in the backgroundexec label-studio — Label Studio becomes PID 1 (handles signals correctly)init_template.shRuns after Label Studio is healthy:
/health endpoint to return UPdocker build -t label-studio .
services:
label-studio:
build:
context: ./label-studio
dockerfile: Dockerfile
image: label-studio:latest
ports:
- "8080:8080"
volumes:
- label_studio_data:/label-studio/data
volumes:
label_studio_data:
| Variable | Default | Description |
|---|---|---|
LABEL_STUDIO_URL | http://localhost:8080 | Internal URL used by init_template.sh to check health |
LABEL_STUDIO_USERNAME | ai-engineer@localhost | Default admin user email |
LABEL_STUDIO_PASSWORD | changeme | Default admin user password |
LABEL_STUDIO_HOST | http://localhost:8080 | Public host URL shown in Label Studio UI |
Content type
Image
Digest
sha256:097045d34…
Size
361.3 MB
Last updated
5 months ago
docker pull heartexlab/label-studio