fix dashboard, set ports to bind to loopback, adjust env vars for grafana

pull/3/head
lance 5 years ago
parent 5d224818b4
commit d040df953f

@ -19,11 +19,13 @@ services:
grafana:
image: grafana/grafana:6.5.0
ports:
- 3000:3000
- 127.0.0.1:3000:3000
environment:
GF_SECURITY_ADMIN_USER: admin
HOSTNAME: grafana
GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_PASSWORD}
GF_SERVER_ROOT_URL: ${GRAFANA_URL}
GF_SERVER_SERVE_FROM_SUB_PATH: "true"
GF_SERVER_ENFORCE_DOMAIN: "true"
GF_ANALYTICS_REPORTING_ENABLED: "false"
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"
volumes:
@ -34,7 +36,7 @@ services:
prometheus:
image: prom/prometheus:v2.15.2
ports:
- 9090:9090
- 127.0.0.1:9090:9090
volumes:
- ./Docker/files/prometheus:/etc/prometheus
- prometheus:/prometheus

@ -1,4 +1,4 @@
{
{
"annotations": {
"list": [
{