---
title: "Deploy Prometheus"
description: "Metrics collection, time-series storage and alerting toolkit"
category: "Observability"
url: https://railway.com/deploy/prometheus-1
---

# Deploy Prometheus

Metrics collection, time-series storage and alerting toolkit

**[Deploy Prometheus on Railway](https://railway.com/template/prometheus-1)**

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

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

## Template content

### Prometheus

- **Image:** prom/prometheus:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Prometheus on Railway

[Prometheus](https://github.com/prometheus/prometheus) is a monitoring system and time-series database: it scrapes metrics from HTTP endpoints, stores them and lets you query and alert on them with PromQL.

## About Hosting Prometheus

This template runs the official `prom/prometheus:latest` image with a persistent volume at `/prometheus`. It starts with the default configuration, which scrapes only itself, so the expression browser works immediately. Time-series data is kept on the volume. To scrape your own targets, point it at a configuration file of your own.

## Common Use Cases

- Scrape metrics from your apps and exporters
- Query them with PromQL in the built-in UI or from Grafana
- Feed Alertmanager rules

## Dependencies for Prometheus Hosting

- One service with a volume; nothing else

### Deployment Dependencies

- [Prometheus on GitHub](https://github.com/prometheus/prometheus)
- [Docker image](https://hub.docker.com/r/prom/prometheus)

## Why Deploy Prometheus on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. The UI is open to anyone with the URL, so restrict access before sharing it. Open the URL after the deploy and run a query such as `up`.


## 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/prometheus-1
