Deploy Label Studio

Label Studio 1.23 data labeling for text, images and audio, on Postgres.

Deploy Label Studio

/var/lib/postgresql/data

Just deployed

/label-studio/data

Deploy and Host Label Studio on Railway

Label Studio is an open-source data labeling tool for machine learning. Teams annotate text, images, audio, video and time series with configurable interfaces for classification, named entities, bounding boxes, segmentation and LLM evaluation. It exports to common formats and connects to model backends for pre-labeling and active learning through its API and Python SDK.

About Hosting Label Studio

This template deploys Label Studio v1.23.0 from the official image with a Railway Postgres database. Uploaded files and media live on a Railway volume, so they survive redeploys. The admin account is created from environment variables on first start, and sign-up without an invite link is disabled. CSRF and host settings point at your Railway domain, so login works behind Railway's HTTPS proxy. For API access, create a personal access token in the account settings. It fits the Hobby plan for small projects. Back up Postgres and the volume regularly.

Common Use Cases

  • Labeling training data for text, vision and audio models
  • Evaluating and ranking LLM outputs with human reviewers
  • Reviewing model predictions and correcting them before retraining

Dependencies for Label Studio Hosting

  • heartexlabs/label-studio:1.23.0 (official image)
  • Railway Postgres (ghcr.io/railwayapp-templates/postgres-ssl:18) with a volume
  • A Railway volume at /label-studio/data

Deployment Dependencies

Implementation Details

ServiceImageNetworkingStorage
labelstudioheartexlabs/label-studio:1.23.0public domain on 8080volume at /label-studio/data
PostgresRailway Postgres 18private onlyvolume
from label_studio_sdk import LabelStudio
ls = LabelStudio(base_url="https://", api_key="")
print([p.title for p in ls.projects.list()])
VariableDefaultPurpose
LABEL_STUDIO_USERNAME / LABEL_STUDIO_PASSWORDadmin@example.com / generatedAdmin account, created on first start
LABEL_STUDIO_DISABLE_SIGNUP_WITHOUT_LINKtrueOnly invited users can sign up
LABEL_STUDIO_HOST / CSRF_TRUSTED_ORIGINShttps://Public URL

Notes:

  • Legacy API tokens are disabled by default in 1.23; use personal access tokens.
  • The service runs as root (RAILWAY_RUN_UID=0) so it can write to the volume.

This is a community-maintained deployment package and does not imply affiliation with or endorsement by the Label Studio project or its maintainers.

Why Deploy Label Studio on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Label Studio on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
116
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
7
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

codestorm
79