This commit is contained in:
piair 2023-08-24 13:58:53 +02:00
parent 718fd1643d
commit b227f47953
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
service grafana-server start
service nginx start
sleep 3
bash /app/MsRewards-Reborn/config/request.sh
gunicorn --reload -w 4 -b 0.0.0.0:6666 'app:app'

View File

@ -1,4 +1,4 @@
curl -X "POST" "http://localhost:3000/api/datasources" \
curl -X "POST" "http://localhost:1234/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}'