From 36a9786724a6189c20242106b3e22dd4f5f3ae03 Mon Sep 17 00:00:00 2001 From: Kevin Heyer Date: Tue, 18 Mar 2025 19:03:33 +0000 Subject: [PATCH] add Prometheus container --- prometheus/.env-example | 2 ++ prometheus/README.md | 0 prometheus/docker-compose.yml | 14 ++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 prometheus/.env-example create mode 100644 prometheus/README.md create mode 100644 prometheus/docker-compose.yml diff --git a/prometheus/.env-example b/prometheus/.env-example new file mode 100644 index 0000000..8fd9828 --- /dev/null +++ b/prometheus/.env-example @@ -0,0 +1,2 @@ +# Prometheus Version (Standard: latest) +PROMETHEUS_VERSION=latest \ No newline at end of file diff --git a/prometheus/README.md b/prometheus/README.md new file mode 100644 index 0000000..e69de29 diff --git a/prometheus/docker-compose.yml b/prometheus/docker-compose.yml new file mode 100644 index 0000000..ea7f623 --- /dev/null +++ b/prometheus/docker-compose.yml @@ -0,0 +1,14 @@ +--- +services: + prometheus: + image: prom/prometheus:${PROMETHEUS_VERSION} + container_name: prometheus + restart: unless-stopped + volumes: + - ./data/prometheus.yml:/etc/prometheus/prometheus.yml + networks: + - grafana + +networks: + grafana: + driver: bridge \ No newline at end of file