proxy grafana

master
Paul Walko 2019-09-16 23:07:53 -04:00
parent 50d0c1ccdc
commit 8692030f12
2 changed files with 7 additions and 2 deletions

View File

@ -13,16 +13,16 @@ docker run \
--name monitoring_grafana \
--detach \
--restart unless-stopped \
--env GF_SERVER_DOMAIN="seaturtle.pw" \
--env GF_SERVER_ROOT_URL="%(protocol)s://%(domain)s/grafana/" \
--user 472 \
--volume $PWD/grafana/grafana-data:/var/lib/grafana:rw \
--volume $PWD/grafana/provisioning:/etc/grafana/provisioning:rw \
--publish 3000:3000 \
--network pew-monitoring-net \
grafana/grafana:6.3.5 \
&& \
docker network connect pew-net monitoring_grafana
# --publish 9090:9090 \
sudo chown nobody:nogroup $PWD/prometheus/prometheus-data \
&& \
docker run \

View File

@ -32,6 +32,11 @@ server {
proxy_pass https://paulwalko.github.io;
}
# Proxy grafana
location /grafana/ {
proxy_pass http://monitoring_grafana:3000/;
}
# Proxy syncthing
location /syncthing/ {
auth_basic "not today buddy";