Added curl for docker grafana
This commit is contained in:
1 parent
8409cbe751
commit
d1b2fa6cd8
7 files changed
+76
-12506
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
#set -e
|
||||
|
||||
apk add curl
|
||||
|
||||
# ADD INFLUXDB DATASOURCE
|
||||
curl -s -H "Content-Type: application/json" \
|
||||
-XPOST http://admin:nimda321@localhost:3000/api/datasources \
|
||||
@@ -9,7 +11,7 @@ curl -s -H "Content-Type: application/json" \
|
||||
"name": "influxdb",
|
||||
"type": "influxdb",
|
||||
"access": "proxy",
|
||||
"url": "http://influxdb:8086",
|
||||
"url": "http://influxdb2:8086",
|
||||
"database": "telegraf",
|
||||
"user":"telegraf",
|
||||
"password":"nimda321",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user