OMG CA MARCHE ?
This commit is contained in:
parent
11b13842dd
commit
f6b43a9ce4
@ -1,33 +1,6 @@
|
|||||||
service grafana-server start
|
service grafana-server start
|
||||||
service nginx start
|
service nginx start
|
||||||
sleep 5
|
sleep 30
|
||||||
echo "waited 5 sec"
|
|
||||||
curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
--user admin:admin \
|
|
||||||
--data-raw $'{"id":1,"uid":"bed26262-6b98-4dfc-a95d-f8bd39b5d09c","orgId":1,"name":"SQLite","type":"frser-sqlite-datasource","typeName":"SQLite","typeLogoUrl":"public/plugins/frser-sqlite-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":true,"jsonData":{"attachLimit":0,"path":"/app/MsRewards-Reborn/MsRewards.db","pathPefix":"file:"},"readOnly":false}'
|
|
||||||
|
|
||||||
sleep 5
|
|
||||||
echo "waited 5 sec"
|
|
||||||
curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
--user admin:admin \
|
|
||||||
--data-raw $'{"id":1,"uid":"bed26262-6b98-4dfc-a95d-f8bd39b5d09c","orgId":1,"name":"SQLite","type":"frser-sqlite-datasource","typeName":"SQLite","typeLogoUrl":"public/plugins/frser-sqlite-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":true,"jsonData":{"attachLimit":0,"path":"/app/MsRewards-Reborn/MsRewards.db","pathPefix":"file:"},"readOnly":false}'
|
|
||||||
|
|
||||||
sleep 5
|
|
||||||
echo "waited 5 sec"
|
|
||||||
curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
--user admin:admin \
|
|
||||||
--data-raw $'{"id":1,"uid":"bed26262-6b98-4dfc-a95d-f8bd39b5d09c","orgId":1,"name":"SQLite","type":"frser-sqlite-datasource","typeName":"SQLite","typeLogoUrl":"public/plugins/frser-sqlite-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":true,"jsonData":{"attachLimit":0,"path":"/app/MsRewards-Reborn/MsRewards.db","pathPefix":"file:"},"readOnly":false}'
|
|
||||||
sleep 5
|
|
||||||
echo "waited 5 sec"
|
|
||||||
curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
--user admin:admin \
|
|
||||||
--data-raw $'{"id":1,"uid":"bed26262-6b98-4dfc-a95d-f8bd39b5d09c","orgId":1,"name":"SQLite","type":"frser-sqlite-datasource","typeName":"SQLite","typeLogoUrl":"public/plugins/frser-sqlite-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":true,"jsonData":{"attachLimit":0,"path":"/app/MsRewards-Reborn/MsRewards.db","pathPefix":"file:"},"readOnly":false}'
|
|
||||||
sleep 5
|
|
||||||
echo "waited 5 sec"
|
|
||||||
curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \
|
curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
--user admin:admin \
|
--user admin:admin \
|
||||||
|
Loading…
Reference in New Issue
Block a user