-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: greptime.env for ev demo on cloud (#55)
* feat: greptime.env for ev demo on cloud * chore: minor change to compose * update readme invocation for newer docker version * fix env variable management and is mock flag --------- Co-authored-by: truedrju <[email protected]>
- Loading branch information
1 parent
c2c5e1c
commit 9bf5513
Showing
7 changed files
with
86 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
__pycache__ | ||
cache.json | ||
.venv | ||
.venv | ||
greptime.env | ||
greptime.env.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
GREPTIME_SCHEME=https | ||
GREPTIME_PORT=443 | ||
|
||
GREPTIME_HOST= | ||
GREPTIME_DB= | ||
GREPTIME_USERNAME= | ||
GREPTIME_PASSWORD= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: 2 | ||
datasources: | ||
- name: greptimedb | ||
type: prometheus | ||
access: proxy | ||
url: ${GREPTIME_SCHEME:=http}://${GREPTIME_HOST:=greptimedb}:${GREPTIME_PORT:=4000}/v1/prometheus | ||
basicAuth: true | ||
basicAuthUser: ${GREPTIME_USERNAME} | ||
jsonData: | ||
httpHeaderName1: X-GREPTIME-DB-NAME | ||
secureJsonData: | ||
basicAuthPassword: ${GREPTIME_PASSWORD} | ||
httpHeaderValue1: ${GREPTIME_DB:=public} | ||
editable: false |