From 3cc8919e6dd288227f03ad6d6a00f69b9c6e26fc Mon Sep 17 00:00:00 2001 From: redbeardymcgee Date: Sat, 12 Apr 2025 15:49:46 -0500 Subject: [PATCH] feat(graphite): add Graphite --- README.md | 2 +- quadlets/graphite/graphite.container | 26 ++++++++++++++++++++++++++ quadlets/graphite/graphite.env | 1 + quadlets/graphite/graphite.network | 6 ++++++ quadlets/graphite/graphite.volume | 3 +++ 5 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 quadlets/graphite/graphite.container create mode 100644 quadlets/graphite/graphite.env create mode 100644 quadlets/graphite/graphite.network create mode 100644 quadlets/graphite/graphite.volume diff --git a/README.md b/README.md index 66a99da..3b7027e 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ that I intend to add to this repository. It is still growing, and I welcome - [x] [Glances](https://nicolargo.github.io/glances/) - [x] [glueforward](https://github.com/GeoffreyCoulaud/glueforward) - [x] [gluetun](https://github.com/qdm12/gluetun) -- [ ] [Graphite](https://graphiteapp.org/) +- [x] [Graphite](https://graphiteapp.org/) - [x] [Graylog](https://graylog.org) - [x] [Healthchecks](https://healthchecks.io/) - [x] [hoarder](https://hoarder.app/) diff --git a/quadlets/graphite/graphite.container b/quadlets/graphite/graphite.container new file mode 100644 index 0000000..9cf8b1f --- /dev/null +++ b/quadlets/graphite/graphite.container @@ -0,0 +1,26 @@ +[Unit] +Description=Graphite monitoring + +[Service] +Restart=on-failure +TimeoutStartSec=900 + +[Install] +WantedBy=default.target + +[Container] +Image=docker.io/graphiteapp/graphite-statsd +ContainerName=graphite +AutoUpdate=registry + +Network=graphite.network +HostName=graphite +PublishPort=80:80 +PublishPort=2003-2004:2003-2004 +PublishPort=2023-2024:2023-2024 +PublishPort=8125:8125/udp +PublishPort=8125:8125 + +Volume=graphite-conf:/opt/graphite/conf + +EnvironmentFile=graphite.env diff --git a/quadlets/graphite/graphite.env b/quadlets/graphite/graphite.env new file mode 100644 index 0000000..01c1ad9 --- /dev/null +++ b/quadlets/graphite/graphite.env @@ -0,0 +1 @@ +EXAMPLE=value diff --git a/quadlets/graphite/graphite.network b/quadlets/graphite/graphite.network new file mode 100644 index 0000000..0bd065e --- /dev/null +++ b/quadlets/graphite/graphite.network @@ -0,0 +1,6 @@ +[Unit] +Description=Graphite network + +[Network] +NetworkName=graphite + diff --git a/quadlets/graphite/graphite.volume b/quadlets/graphite/graphite.volume new file mode 100644 index 0000000..907cf6b --- /dev/null +++ b/quadlets/graphite/graphite.volume @@ -0,0 +1,3 @@ +[Volume] +VolumeName=graphite-conf +