Deploy VictoriaMetrics observability
Persistent VictoriaMetrics and Grafana with protected metric APIs.
Application
VictoriaMetrics Gateway
Just deployed
VictoriaMetrics Grafana
Just deployed
/var/lib/grafana
Metrics
VictoriaMetrics
Just deployed
/victoria-metrics-data
Deploy and Host VictoriaMetrics observability on Railway
VictoriaMetrics observability combines a persistent VictoriaMetrics Community time-series database with Grafana and an authenticated public API gateway.
About Hosting VictoriaMetrics observability
The template keeps VictoriaMetrics and Grafana private, stores each service on its own volume, provisions Grafana's data source, and exposes only selected read/write API routes through separate generated bearer tokens.
Why Deploy VictoriaMetrics observability on Railway
Railway supplies private networking, generated credentials, HTTPS, health-gated deployments, and persistent volumes while the template pins reproducible official images and an explicit 30-day retention period.
Common Use Cases
- Retain application and infrastructure metrics for small internal systems.
- Accept Prometheus-compatible or OpenTelemetry metric writes behind a bearer token.
- Explore and dashboard metrics in authenticated Grafana.
Dependencies for VictoriaMetrics observability Hosting
The deployment uses VictoriaMetrics Community, Grafana OSS, and Caddy.
Deployment Dependencies
- Two persistent 5 GB Railway volumes
- One public Railway domain for the Caddy gateway
- Generated Grafana, read-token, and write-token secrets
Template Content
VictoriaMetrics
victoriametrics/victoria-metrics:v1.148.0VictoriaMetrics Gateway
caddy:2.11.4-alpineVictoriaMetrics Grafana
grafana/grafana:13.1.1