Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowengine-docker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template
flowengine-docker
Commits
317858ba
Commit
317858ba
authored
Oct 31, 2023
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add depend_on pg_grafana on grafana
parent
da7b1704
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
bash-influx/init.bash
+1
-1
docker-compose.yaml
+2
-1
docker-portainer.yaml
+2
-0
No files found.
bash-influx/init.bash
View file @
317858ba
...
...
@@ -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\": \"s
tring
\", \"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\": \"s
craper_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
...
...
docker-compose.yaml
View file @
317858ba
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
...
...
docker-portainer.yaml
View file @
317858ba
...
...
@@ -47,6 +47,8 @@ services:
grafana
:
depends_on
:
-
pg_grafana
image
:
docker.io/bitnami/grafana:10
# ports:
# - '33011:3000'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment