add: prometheus

This commit is contained in:
Didier Slof 2023-01-09 10:58:53 +01:00
parent af74aebf83
commit e3af481656
Signed by: didier
GPG key ID: 01E71F18AA4398E5
4 changed files with 17 additions and 1 deletions

1
custom/README.md Normal file
View file

@ -0,0 +1 @@
# Custom services for Neo

View file

@ -0,0 +1,4 @@
FROM prom/prometheus
# Copy files
COPY prometheus.yml /etc/prometheus/prometheus.yml

View file

View file

@ -94,3 +94,14 @@ services:
- /srv/grafana:/var/lib/grafana
networks:
- proxy
- metrics
prometheus:
build:
context: ./custom/prometheus
dockerfile: .
networks:
- metrics
networks:
metrics: