Skip to content

Commit

Permalink
docs: add notes when creating tidb password
Browse files Browse the repository at this point in the history
  • Loading branch information
sykp241095 committed Nov 14, 2024
1 parent b2db21b commit 85b8336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/src/pages/docs/deploy-with-docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ If you want to use a different embedding model after deployment, you need to rec
Replace the following placeholders with your own values:
- `SECRET_KEY`: you can generate a random secret key using `python3 -c "import secrets; print(secrets.token_urlsafe(32))"`
- `TIDB_HOST`, `TIDB_USER`, `TIDB_PASSWORD` and `TIDB_DATABASE`: get them from your [TiDB Serverless cluster](https://tidbcloud.com/)

- Note: TiDB Serverless will provide a default database name called `test`, if you want to use another database name, you need to create a new database in the TiDB Serverless console.
- Note: Don't use '#' in the password, it will cause an error when connecting to the database.
- `EMBEDDING_DIMS` and `EMBEDDING_MAX_TOKENS`: set them according to the embedding model you choose before, it can not be changed after the deployment.

4. Migrate the database schema:
Expand Down

0 comments on commit 85b8336

Please sign in to comment.