Railway

Deploy Grafana

Self-hosted Grafana dashboards with persistent storage and healthchecks.

Deploy Grafana

Just deployed

/var/lib/grafana

Grafana

Open-source observability platform for real-time metrics, logs, and alerting across any infrastructure stack.

Deploy on Railway

Features

  • Interactive dashboards with drag-and-drop panels
  • Multi-source data ingestion (Prometheus, InfluxDB, Elasticsearch, and 50+ others)
  • Real-time alerting with Slack, PagerDuty, email, and webhook notifications
  • Built-in user authentication and RBAC
  • Explore mode for ad-hoc querying
  • Plugin ecosystem for custom visualizations and data sources

Configuration

VariableDescriptionDefault
GF_SECURITY_ADMIN_USERGrafana admin usernameadmin
GF_SECURITY_ADMIN_PASSWORDGrafana admin password(required)
GF_SERVER_HTTP_PORTHTTP listen port3000
GF_PATHS_DATAPersistent data directory/var/lib/grafana
GF_PATHS_LOGSLog directory/var/log/grafana
GF_PATHS_PLUGINSPlugins directory/var/lib/grafana/plugins
GF_PATHS_PROVISIONINGProvisioning configs directory/etc/grafana/provisioning
GF_SECURITY_ALLOW_EMBEDDINGAllow iframe embeddingfalse

Volumes

  • /var/lib/grafana — Persistent data, plugins, and SQLite database

License

AGPLv3 — Grafana License

Deploy and Host

This template deploys Grafana 13.1.1 on Railway with a persistent volume for data storage. The service runs on port 3000 with a configured health check. Set GF_SECURITY_ADMIN_PASSWORD on first deploy.

About Hosting

Railway provides managed infrastructure with automatic HTTPS, persistent volumes, private networking, and simple one-click deploys. The platform handles TLS termination, service scaling, and deployment rollbacks.

Why Deploy on Railway

  • One-click deploy from template — no manual infrastructure setup
  • Built-in persistent volume for Grafana's SQLite database and plugins
  • Automatic HTTPS with Railway-managed TLS certificates
  • Private networking for secure connections to other Railway services
  • Health monitoring with automated restart on failure

Common Use Cases

  • Infrastructure monitoring dashboard for Railway-deployed services
  • Business metrics and KPI visualization
  • Log aggregation and analysis with Loki integration
  • IoT sensor data visualization with InfluxDB or TimescaleDB
  • Kubernetes cluster monitoring with Prometheus integration

Dependencies for Grafana

Deployment Dependencies

This template has no required external services. For multi-source monitoring, deploy Prometheus, InfluxDB, or other data sources as sibling services in the same Railway project.


Template Content

More templates in this category

View Template
NEW
Pyroscope profiling
Protected continuous profiling with durable Pyroscope storage.

Anton Orel
1
View Template
SigOnly
Deploy SigNoz with a working demo app & config in one click

zoeyjones
22
View Template
Unwrapped Spotify Music Stats
Unwrapped Spotify Music Stats, Estatísticas de músicas disponíveis

Jorge Henrique
1