mirror of
https://github.com/M0r13n/mikrotik_monitoring.git
synced 2025-12-06 18:19:30 +00:00
updates Grafana and Prometheus
This commit is contained in:
parent
515b930c38
commit
1d9f69b3c0
4 changed files with 5 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
tmp
|
tmp
|
||||||
.idea/
|
.idea/
|
||||||
mktxp/mktxp.conf
|
mktxp/mktxp.conf
|
||||||
|
.vscode
|
||||||
|
|
|
||||||
|
|
@ -123,6 +123,7 @@ server {
|
||||||
include ssl/self-signed.conf;
|
include ssl/self-signed.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
proxy_pass http://grafana:3000/;
|
proxy_pass http://grafana:3000/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ services:
|
||||||
# Prometheus
|
# Prometheus
|
||||||
# https://github.com/stefanprodan/dockprom
|
# https://github.com/stefanprodan/dockprom
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v2.28.1
|
image: prom/prometheus:v2.37.0
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
volumes:
|
volumes:
|
||||||
- ./prometheus:/etc/prometheus
|
- ./prometheus:/etc/prometheus
|
||||||
|
|
@ -26,7 +26,7 @@ services:
|
||||||
# Grafana
|
# Grafana
|
||||||
# https://github.com/stefanprodan/dockprom
|
# https://github.com/stefanprodan/dockprom
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:8.0.4
|
image: grafana/grafana:9.0.6
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
volumes:
|
volumes:
|
||||||
- grafana_data:/var/lib/grafana
|
- grafana_data:/var/lib/grafana
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ server {
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
proxy_pass http://grafana:3000/;
|
proxy_pass http://grafana:3000/;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue