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
|
@ -94,3 +94,14 @@ services:
|
|||
- /srv/grafana:/var/lib/grafana
|
||||
networks:
|
||||
- proxy
|
||||
- metrics
|
||||
|
||||
prometheus:
|
||||
build:
|
||||
context: ./custom/prometheus
|
||||
dockerfile: .
|
||||
networks:
|
||||
- metrics
|
||||
|
||||
networks:
|
||||
metrics:
|
Reference in a new issue