---
title: "Deploy Grafana"
description: "Dashboards and alerts for metrics, logs and traces from many sources"
category: "Observability"
url: https://railway.com/deploy/grafana-4
---

# Deploy Grafana

Dashboards and alerts for metrics, logs and traces from many sources

**[Deploy Grafana on Railway](https://railway.com/template/grafana-4)**

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

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

## Template content

### Grafana

- **Image:** grafana/grafana:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Grafana on Railway

[Grafana](https://github.com/grafana/grafana) is an open-source platform for dashboards, alerting and exploring metrics, logs and traces from sources such as Prometheus, Loki, PostgreSQL and many more.

## About Hosting Grafana

This template runs the official `grafana/grafana:latest` image with a persistent volume at `/var/lib/grafana`, so dashboards, users and data sources survive redeploys. The admin user is `admin`, and its password is generated into the `GF_SECURITY_ADMIN_PASSWORD` variable of the service; read it in the Variables tab in Railway and sign in at the public URL.

## Common Use Cases

- Dashboards for Prometheus, Loki, Postgres and cloud metrics
- Alerting on metrics and logs
- A shared monitoring screen for a team

## Dependencies for Grafana Hosting

- One service with a volume; add data sources from inside Grafana

### Deployment Dependencies

- [Grafana on GitHub](https://github.com/grafana/grafana)
- [Docker image](https://hub.docker.com/r/grafana/grafana)

## Why Deploy Grafana on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. Sign in as `admin` with the generated password and add your first data source.


## 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/grafana-4
