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