Commit 317858ba by root

add depend_on pg_grafana on grafana

parent da7b1704
......@@ -75,7 +75,7 @@ echo "Shard Duration: ${ShardDuration[@]}"
echo "Organization ID: ${OrgID[@]}"
echo "Schema Type: ${SchemaType[@]}"
#echo curl -X POST http://localhost:8086/api/v2/scrapers -H "Authorization: Token ${INFLUX_TOKEN}" -H "Content-Type: application/json" -d "{ \"allowInsecure\": false, \"orgID\": \"${OrgID[@]}\", \"bucketID\": \"${ID[@]}\", \"name\": \"string\", \"type\": \"prometheus\", \"url": \"http://localhost:8086/metrics\" }"
#echo curl -X POST http://localhost:8086/api/v2/scrapers -H "Authorization: Token ${INFLUX_TOKEN}" -H "Content-Type: application/json" -d "{ \"allowInsecure\": false, \"orgID\": \"${OrgID[@]}\", \"bucketID\": \"${ID[@]}\", \"name\": \"scraper_metrics\", \"type\": \"prometheus\", \"url": \"http://localhost:8086/metrics\" }"
curl -X POST ${URI}/api/v2/scrapers -H "Authorization: Token ${INFLUX_TOKEN}" -H "Content-Type: application/json" -d "{ \"allowInsecure\": false, \"orgID\": \"${OrgID[@]}\", \"bucketID\": \"${ID[@]}\", \"name\": \"string\", \"type\": \"prometheus\", \"url\": \"http://localhost:8086/metrics\" }" -i
......
services:
app:
image: harbor.nexpie.com/stack/flowengine:1.4.2-0-410e78d6
image: dock.nexpie.com/stack/flowengine:1.3.5-2-f633d8d2
#harbor.nexpie.com/stack/flowengine:1.4.2-0-410e78d6
volumes:
- flow_data:/usr/local/flowengine
- store_data:/usr/local/store-data
......
......@@ -47,6 +47,8 @@ services:
grafana:
depends_on:
- pg_grafana
image: docker.io/bitnami/grafana:10
# ports:
# - '33011:3000'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment