Added docker-compose with Prometheus and Grafana
This commit is contained in:
parent
5a51e29861
commit
0123dbe17c
2
.gitignore
vendored
2
.gitignore
vendored
@ -35,3 +35,5 @@ out/
|
|||||||
|
|
||||||
### VS Code ###
|
### VS Code ###
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
appdata/
|
||||||
|
|||||||
0
config/prometheus.yml
Normal file
0
config/prometheus.yml
Normal file
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
|
services:
|
||||||
|
prometheus:
|
||||||
|
image: prom/prometheus
|
||||||
|
ports:
|
||||||
|
- "9090:9090"
|
||||||
|
volumes:
|
||||||
|
- "./config/prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||||
|
networks:
|
||||||
|
metrics:
|
||||||
|
aliases: [ 'prometheus' ]
|
||||||
|
grafana:
|
||||||
|
image: grafana/grafana
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
environment:
|
||||||
|
GF_SECURITY_ADMIN_USER: admin
|
||||||
|
GF_SECURITY_ADMIN_PASSWORD: admin
|
||||||
|
networks:
|
||||||
|
metrics:
|
||||||
|
aliases: [ 'grafana' ]
|
||||||
|
|
||||||
|
networks:
|
||||||
|
metrics:
|
||||||
Loading…
x
Reference in New Issue
Block a user