From e3af48165634f50227e8dc9b16fb2563573fea18 Mon Sep 17 00:00:00 2001 From: faulty Date: Mon, 9 Jan 2023 10:58:53 +0100 Subject: [PATCH] add: prometheus --- custom/README.md | 1 + custom/prometheus/Dockerfile | 4 ++++ custom/prometheus/prometheus.yml | 0 docker-compose.utils.yml | 13 ++++++++++++- 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 custom/README.md create mode 100644 custom/prometheus/Dockerfile create mode 100644 custom/prometheus/prometheus.yml diff --git a/custom/README.md b/custom/README.md new file mode 100644 index 0000000..98ae89c --- /dev/null +++ b/custom/README.md @@ -0,0 +1 @@ +# Custom services for Neo \ No newline at end of file diff --git a/custom/prometheus/Dockerfile b/custom/prometheus/Dockerfile new file mode 100644 index 0000000..58e3d46 --- /dev/null +++ b/custom/prometheus/Dockerfile @@ -0,0 +1,4 @@ +FROM prom/prometheus + +# Copy files +COPY prometheus.yml /etc/prometheus/prometheus.yml diff --git a/custom/prometheus/prometheus.yml b/custom/prometheus/prometheus.yml new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.utils.yml b/docker-compose.utils.yml index 79874e3..8428721 100644 --- a/docker-compose.utils.yml +++ b/docker-compose.utils.yml @@ -93,4 +93,15 @@ services: volumes: - /srv/grafana:/var/lib/grafana networks: - - proxy \ No newline at end of file + - proxy + - metrics + + prometheus: + build: + context: ./custom/prometheus + dockerfile: . + networks: + - metrics + +networks: + metrics: \ No newline at end of file