---
title: "Deploy VictoriaMetrics"
description: "Fast time series database and Prometheus-compatible monitoring backend"
category: "Observability"
url: https://railway.com/deploy/victoriametrics-3
---

# Deploy VictoriaMetrics

Fast time series database and Prometheus-compatible monitoring backend

**[Deploy VictoriaMetrics on Railway](https://railway.com/template/victoriametrics-3)**

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

- **Creator:** zer0person's Projects
- **Category:** Observability
- **Total deploys:** 1

## Template content

### VictoriaMetrics

- **Image:** victoriametrics/victoria-metrics:latest
- **Start command:** `sh -c '/victoria-metrics-prod -httpListenAddr=:8428 -storageDataPath=/victoria-metrics-data -httpAuth.username=admin -httpAuth.password=$VM_PASSWORD'`
- **Public domain:** Yes

## Documentation

# Deploy and Host VictoriaMetrics on Railway

[VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics) is a fast, cost-effective time series database that accepts Prometheus remote write and many other ingestion formats.

## About Hosting VictoriaMetrics

This template runs the official single-node `victoriametrics/victoria-metrics` image with a volume at `/victoria-metrics-data`. The UI is at `/vmui`. Access is protected with basic auth: username `admin`, password is the `VM_PASSWORD` variable on the service. Use the same credentials when pointing Grafana or Prometheus at the URL.

## Common Use Cases

- Long-term Prometheus storage
- Metrics backend for Grafana
- IoT and application metrics

## Dependencies for VictoriaMetrics Hosting

- One service with a volume; nothing else

### Deployment Dependencies

- [VictoriaMetrics on GitHub](https://github.com/VictoriaMetrics/VictoriaMetrics)
- [Docker image](https://hub.docker.com/r/victoriametrics/victoria-metrics)

## Why Deploy VictoriaMetrics on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain.


## Similar templates

- [Rootprint](https://railway.com/deploy/rootprint-1) — Open-source logs and traces with full-text search on object-storage.
- [VPS Fleet Watch Hub with Beszel](https://railway.com/deploy/vps-fleet-watch-hub-with-beszel) — A persistent Beszel hub for external VPS agents and fleet alerts.
- [Pyroscope profiling](https://railway.com/deploy/pyroscope-profiling) — Protected continuous profiling with durable Pyroscope storage.

Open this page in a browser: https://railway.com/deploy/victoriametrics-3
