mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-24 12:45:45 +00:00
add plugin_env file, define plugin config strategy.
This commit is contained in:
parent
c03bd6fe97
commit
6a8ee91834
1
.gitignore
vendored
1
.gitignore
vendored
@ -145,3 +145,4 @@ pilot/nltk_data
|
||||
|
||||
logswebserver.log.*
|
||||
.history/*
|
||||
.plugin_env
|
14
.plugin_env.template
Normal file
14
.plugin_env.template
Normal file
@ -0,0 +1,14 @@
|
||||
####################################################################################
|
||||
## [DB-GPT-Bytebase-Plugin] ###
|
||||
#####################################################################################
|
||||
HOST_NAME={your-host-ip, to execute command operate}
|
||||
HOST_USER=root
|
||||
HOST_PASSWORD={your-host-password}
|
||||
SSH_PORT=22
|
||||
|
||||
BYTE_BASE_COOKIE={your-bytebase-cookie}
|
||||
BYTE_BASE_DOMAIN={your-bytebase-server-address}
|
||||
BYTE_BASE_DEFAULT_DEV_INSTANCE=mysql_dev
|
||||
BYTE_BASE_DEFAULT_TEST_INSTANCE=mysql_test
|
||||
BYTE_BASE_DEFAULT_PROD_INSTANCE=mysql_prod
|
||||
DEFAULT_PROJECT_NAME={your-default-project}
|
@ -10,5 +10,6 @@ if "pytest" in sys.argv or "pytest" in sys.modules or os.getenv("CI"):
|
||||
|
||||
# Load the users .env file into environment variables
|
||||
load_dotenv(verbose=True, override=True)
|
||||
load_dotenv(".plugin_env")
|
||||
|
||||
del load_dotenv
|
||||
|
Loading…
Reference in New Issue
Block a user