Commit 0328b97e authored by Wade's avatar Wade

use mysql

parent ad036433
......@@ -11,8 +11,12 @@ host = "0.0.0.0"
port = 5670
[service.web.database]
type = "sqlite"
path = "/app/pilot/meta_data/dbgpt.db"
type = "mysql"
host = "${env:MYSQL_HOST:-127.0.0.1}"
port = "${env:MYSQL_PORT:-3306}"
database = "${env:MYSQL_DATABASE:-dbgpt}"
user = "${env:MYSQL_USER:-root}"
password ="${env:MYSQL_PASSWORD:-aa123456}"
[rag]
......
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