Self-host VictoriaMetrics with Docker
A fast, resource-frugal time-series database that speaks the Prometheus query and remote-write APIs.
This page describes the Levelrail template for VictoriaMetrics (Monitoring). It deploys the services below as one Docker Compose app on your own server.
Project site: https://docs.victoriametrics.com.Recommended memory: about 512 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
victoriametrics | victoriametrics/victoria-metrics:v1.152.0 | 8428 | victoriametrics_data -> /storage |
Environment variables
This template sets no environment variables.
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Deploy VictoriaMetrics with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select VictoriaMetrics. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy victoriametrics --name my-victoriametricsSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Monitoring templates
All templates are listed in the self-host gallery.