proxy grafana
parent
50d0c1ccdc
commit
8692030f12
|
@ -13,16 +13,16 @@ docker run \
|
||||||
--name monitoring_grafana \
|
--name monitoring_grafana \
|
||||||
--detach \
|
--detach \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
|
--env GF_SERVER_DOMAIN="seaturtle.pw" \
|
||||||
|
--env GF_SERVER_ROOT_URL="%(protocol)s://%(domain)s/grafana/" \
|
||||||
--user 472 \
|
--user 472 \
|
||||||
--volume $PWD/grafana/grafana-data:/var/lib/grafana:rw \
|
--volume $PWD/grafana/grafana-data:/var/lib/grafana:rw \
|
||||||
--volume $PWD/grafana/provisioning:/etc/grafana/provisioning:rw \
|
--volume $PWD/grafana/provisioning:/etc/grafana/provisioning:rw \
|
||||||
--publish 3000:3000 \
|
|
||||||
--network pew-monitoring-net \
|
--network pew-monitoring-net \
|
||||||
grafana/grafana:6.3.5 \
|
grafana/grafana:6.3.5 \
|
||||||
&& \
|
&& \
|
||||||
docker network connect pew-net monitoring_grafana
|
docker network connect pew-net monitoring_grafana
|
||||||
|
|
||||||
# --publish 9090:9090 \
|
|
||||||
sudo chown nobody:nogroup $PWD/prometheus/prometheus-data \
|
sudo chown nobody:nogroup $PWD/prometheus/prometheus-data \
|
||||||
&& \
|
&& \
|
||||||
docker run \
|
docker run \
|
||||||
|
|
|
@ -32,6 +32,11 @@ server {
|
||||||
proxy_pass https://paulwalko.github.io;
|
proxy_pass https://paulwalko.github.io;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Proxy grafana
|
||||||
|
location /grafana/ {
|
||||||
|
proxy_pass http://monitoring_grafana:3000/;
|
||||||
|
}
|
||||||
|
|
||||||
# Proxy syncthing
|
# Proxy syncthing
|
||||||
location /syncthing/ {
|
location /syncthing/ {
|
||||||
auth_basic "not today buddy";
|
auth_basic "not today buddy";
|
||||||
|
|
Loading…
Reference in New Issue