Deploy Grafana
Grafana 13.1.3 observability dashboards, logs, and alerts.
grafana
Just deployed
/var/lib/grafana
Deploy and Host Grafana 13.1.3 on Railway
Grafana is an open-source observability platform for querying, visualizing, and alerting on metrics, logs, traces, and other time-series data. Teams use dashboards, Explore, alert rules, and data-source integrations to understand application health. This template runs the official Grafana OSS 13.1.3 image with Railway networking and persistent storage.
About Hosting Grafana 13.1.3
Railway runs the official Grafana OSS image as one service listening on port 3000. A Railway-provided public domain exposes the web UI and /api/health readiness endpoint. A persistent volume is mounted at /var/lib/grafana so the built-in SQLite database, dashboards, alert rules, and installed plugins survive restarts. The template generates the admin password at deployment time with Railway's secret(32) function and keeps sign-ups disabled by default. Set up external data sources from Grafana after deployment; this template does not provision or require a separate database. The source is pinned to Grafana 13.1.3 for repeatable deployments.
Common Use Cases
- Build dashboards for application, infrastructure, and service metrics.
- Explore logs and traces alongside time-series data during incident response.
- Define alert rules and notification policies for development or self-hosted observability.
Dependencies for Grafana 13.1.3 Hosting
- A Railway service using the official
grafana/grafanaOSS image. - Persistent Railway volume mounted at
/var/lib/grafana. - Optional external data sources such as Prometheus, Loki, Tempo, or Elasticsearch, configured by the deployer inside Grafana.
Deployment Dependencies
Implementation Details
The service uses the immutable image reference grafana/grafana@sha256:ab5cb380e3ff3172d6c8bd2e7cfd31cce977d2881b260e1f5bc089bf0b759b43, exposes port 3000, and uses /api/health as the Railway health check. RAILWAY_RUN_UID=0 is set because Railway volumes are mounted as root while the official image defaults to a non-root user. The admin password is generated once as the authoritative template value; do not create a second generated value for the same key.
Why Deploy Grafana 13.1.3 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 Grafana 13.1.3 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.
Template Content
grafana
grafana/grafana