---
title: "Deploy CVAT"
description: "Label images and video for computer-vision datasets, with a web UI"
category: "AI/ML"
url: https://railway.com/deploy/cvat
---

# Deploy CVAT

Label images and video for computer-vision datasets, with a web UI

**[Deploy CVAT on Railway](https://railway.com/template/cvat)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/cvat/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Kvrocks

- **Source:** https://github.com/aalfath/cvat-railway-template

### CVAT https://raw.githubusercontent.com/cvat-ai/cvat/v2.83.0/site/static/favicons/pwa-512x512.png

- **Source:** https://github.com/aalfath/cvat-railway-template
- **Health check:** /api/server/health/
- **Public domain:** Yes

## Documentation

# Deploy and Host CVAT on Railway

CVAT (Computer Vision Annotation Tool) is an open-source, web-based tool for labelling images and video to build computer-vision datasets. Teams draw boxes, polygons, polylines, points, masks and skeletons, track objects across video frames, review each other's work, and export to formats such as COCO, YOLO and Pascal VOC.

## About Hosting CVAT

Upstream CVAT runs as a dozen containers: a Django API server, separate RQ workers for imports, exports, video chunks, annotation, webhooks and quality reports, an Open Policy Agent for permissions, a web UI behind Traefik, PostgreSQL, Redis and the Kvrocks chunk cache. The server and workers share one data volume. Railway volumes can't be shared between services, so this template runs the server, all workers, OPA and the UI in one container under supervisord, with one persistent volume for uploaded media. Postgres and Redis are Railway's own databases, and Kvrocks gets its own volume. Database migrations and the first administrator are handled on start.

## Common Use Cases

* Labelling images and video for object detection, segmentation and pose estimation models
* Running an in-house annotation team with tasks, jobs, assignees and review stages
* Converting and exporting datasets between COCO, YOLO, Pascal VOC, CVAT XML and other formats

## Dependencies for CVAT Hosting

* PostgreSQL (Railway Postgres) for users, projects, tasks and annotations
* Redis (Railway Redis) for job queues, plus Kvrocks for the on-disk media chunk cache

### Deployment Dependencies

* CVAT v2.83.0 release: https://github.com/cvat-ai/cvat/releases/tag/v2.83.0
* CVAT self-hosting guide: https://docs.cvat.ai/docs/administration/basics/installation/
* Template source (Dockerfiles, start scripts, changelog): https://github.com/aalfath/cvat-railway-template

### Implementation Details

The deploy asks no questions. After it finishes, open the CVAT service's public domain and sign in as `admin` with the generated `CVAT_ADMIN_PASSWORD` from the CVAT service's Variables tab. Change it under your user menu afterwards; editing the variable later does not change the password. Anyone who opens the site can also create a regular account from the sign-in page; regular users see only their own work and what others share with them.

Not included: the analytics stack (ClickHouse, Vector, Grafana) and serverless auto-annotation with Nuclio, which needs Docker access that Railway does not offer. Email is not configured, so CVAT sends no password-reset emails; an administrator can reset passwords at `/admin`. The CVAT container uses about 1.6 GB of RAM at idle.

## Why Deploy CVAT 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 CVAT 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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/cvat
