VictoriaMetrics/deployment/docker
Aliaksandr Valialkin 80f53e5396 deployment/docker: run docker apps under default user (0, root) in order to preserve backwards compatibility
If docker app is upgraded from root to non-root, then the data pointed by `-storageDataPath` or similar flags
becomes denied to non-root user after the upgrade. This breaks upgrade path. So revert back to default root user
for docker apps.

Users may explicitly execute `docker run --user <non_root_user>` for running docker apps under non-root user.
2020-03-28 19:23:26 +02:00
..
base deployment/docker: run docker apps under default user (0, root) in order to preserve backwards compatibility 2020-03-28 19:23:26 +02:00
builder
provisioning
docker-compose.yml
Makefile deployment/docker: run docker apps under default user (0, root) in order to preserve backwards compatibility 2020-03-28 19:23:26 +02:00
prometheus.yml
README.md

Folder contains basic images and tools for building and running Victoria Metrics in docker

Docker compose

To spin-up setup of VictoriaMetrics, Prometheus and Grafana run following command:

docker-compose up

VictoriaMetrics

VictoriaMetrics opens following ports:

  • --graphiteListenAddr=:2003
  • --opentsdbListenAddr=:4242
  • --httpListenAddr=:8428
Prometheus

To access service open following link.

Prometheus is already configured to use VictoriaMetrics as remote storage.

Grafana

To access service open following link.

Default creds:

  • login - admin
  • password - admin

Grafana is provisioned by default with following entities:

  • VictoriaMetrics datasource
  • Prometheus datasource
  • VictoriaMetrics overview dashboard