add: prometheus
This commit is contained in:
parent
af74aebf83
commit
e3af481656
4 changed files with 17 additions and 1 deletions
1
custom/README.md
Normal file
1
custom/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# Custom services for Neo
|
4
custom/prometheus/Dockerfile
Normal file
4
custom/prometheus/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM prom/prometheus
|
||||||
|
|
||||||
|
# Copy files
|
||||||
|
COPY prometheus.yml /etc/prometheus/prometheus.yml
|
0
custom/prometheus/prometheus.yml
Normal file
0
custom/prometheus/prometheus.yml
Normal file
|
@ -93,4 +93,15 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/grafana:/var/lib/grafana
|
- /srv/grafana:/var/lib/grafana
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
- metrics
|
||||||
|
|
||||||
|
prometheus:
|
||||||
|
build:
|
||||||
|
context: ./custom/prometheus
|
||||||
|
dockerfile: .
|
||||||
|
networks:
|
||||||
|
- metrics
|
||||||
|
|
||||||
|
networks:
|
||||||
|
metrics:
|
Reference in a new issue