From 920526534eeb0281451337ff65f03316af5af9d4 Mon Sep 17 00:00:00 2001 From: wmedrano Date: Tue, 4 Jun 2024 07:06:49 -0700 Subject: [PATCH] Remove duplicate section. --- src/posts/server-setup.org | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/src/posts/server-setup.org b/src/posts/server-setup.org index 675c58d..7f6160b 100644 --- a/src/posts/server-setup.org +++ b/src/posts/server-setup.org @@ -160,8 +160,12 @@ file:server-setup/grafana.png Grafana is a UI for Prometheus. Since there is no system package available, we use Docker to run a prepackaged image. -#+BEGIN_SRC -sudo docker run -d -p 21895:3000 --name=grafana --restart unless-stopped grafana/grafana-enterprise +#+BEGIN_SRC sh +sudo docker run -d \ + --name=grafana \ + -p 21895:3000 \ + --restart unless-stopped \ + grafana/grafana-enterprise #+END_SRC ** Caddy @@ -193,19 +197,3 @@ Prometheus. static_configs: - targets: ['localhost:21895'] #+END_SRC - -** Grafana -:PROPERTIES: -:CUSTOM_ID: ConfigsGrafana-fwaaqbk0y7k0 -:END: - -Grafana is a GUI for Prometheus. It allows building dashboards based -on metrics collected from Prometheus. - -#+BEGIN_SRC sh -sudo docker run -d \ - --name=grafana \ - -p 21895:3000 \ - --restart unless-stopped \ - grafana/grafana-enterprise -#+END_SRC