Skip to content

Commit

Permalink
chore(backend): update default config
Browse files Browse the repository at this point in the history
  • Loading branch information
wd0517 committed Aug 14, 2024
1 parent bb80d34 commit a6cb4f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENVIRONMENT=production
SECRET_KEY=

# Replace with your own sentry dsn, leave it commented if you don't want to use sentry
# SENTRY_DSN=https://xxxx@o226447.ingest.us.sentry.io/4507549478223872
# SENTRY_DSN=https://xxxx@xxx.sentry.io/xxxxxx

# Replace with your own TiDB Serverless connection information,
# currently only TiDB Serverless supports vector search.
Expand Down
4 changes: 2 additions & 2 deletions backend/app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def server_host(self) -> str:

LOCAL_FILE_STORAGE_PATH: str = "/shared/data"

TIDB_HOST: str
TIDB_HOST: str = "127.0.0.1"
TIDB_PORT: int = 4000
TIDB_USER: str
TIDB_USER: str = "root"
TIDB_PASSWORD: str = ""
TIDB_DATABASE: str
TIDB_SSL: bool = True
Expand Down

0 comments on commit a6cb4f9

Please sign in to comment.