From 1638096ba7cec9362d4afcf8788f589f16722ea1 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 3 Jul 2024 21:58:19 -0600 Subject: [PATCH] return to localhost on most grafana. --- grafana.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grafana.sh b/grafana.sh index 09f1e23..f498e36 100644 --- a/grafana.sh +++ b/grafana.sh @@ -198,7 +198,7 @@ PUT -H "Content-Type: application/json;charset=UTF-8" -d \ \"oldPassword\": \"admin\", \"newPassword\": \"$GRAFANA_PASS\", \"confirmNew\": \"$GRAFANA_PASS\" -}" http://127.0.0.1:3000/api/user/password; echo "" +}" http://localhost:3000/api/user/password; echo "" echo " # Create InfluxDB datasource @@ -208,16 +208,16 @@ POST -H 'Content-Type: application/json;charset=UTF-8' -d \ '{ "name": "InfluxDB", "type": "influxdb", - "url": "http://127.0.0.1:8086", + "url": "http://localhost:8086", "access": "proxy", "isDefault": true, "database": "jitsi" -}' http://127.0.0.1:3000/api/datasources; echo "" +}' http://localhost:3000/api/datasources; echo "" echo " # Add Grafana Dashboard " -grafana_host="http://127.0.0.1:3000" +grafana_host="http://localhost:3000" grafana_cred="admin:$GRAFANA_PASS" grafana_datasource="InfluxDB" ds=(11969);