From 5cea046908f153ef2c26dfa1f92c1531fb3dfc25 Mon Sep 17 00:00:00 2001 From: StormyCloudInc <64628149+WaxySteelWorm@users.noreply.github.com> Date: Mon, 10 Jul 2023 19:47:01 -0500 Subject: [PATCH] Update alternative-graphing-with-prometheus-grafana.md --- .../alternative-graphing-with-prometheus-grafana.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/useful-extras/alternative-graphing-with-prometheus-grafana.md b/useful-extras/alternative-graphing-with-prometheus-grafana.md index f83cf22..997dd24 100644 --- a/useful-extras/alternative-graphing-with-prometheus-grafana.md +++ b/useful-extras/alternative-graphing-with-prometheus-grafana.md @@ -18,8 +18,15 @@ Open the `docker-compose.yml` file that was created when deploying `ultrafeeder` Add the following lines to the `volumes:` section at the top of the file \(below the `version:` section, and before the `services:` section\): ```yaml +version: '3.8' + +volumes: prometheus_data: grafana_data: + +services: + ultrafeeder: + # other service configurations ``` This creates the volumes that will contain `prometheus` and `grafana`’s application data.