Skip to content

Commit fce0084

Browse files
committed
update docs
1 parent e99f784 commit fce0084

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/backend/deploy/Docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ title: Docker 部署
4141
@tab fba
4242

4343
```shell:no-line-numbers
44-
docker build -f Dockerfile -t fba_backend_independent .
44+
docker build -f Dockerfile -t fba_server_independent .
4545
```
4646

4747
@tab celery
@@ -60,7 +60,7 @@ title: Docker 部署
6060
@tab fba
6161

6262
```shell:no-line-numbers
63-
docker run -d -p 8000:8000 --name fba_server fba_backend_independent
63+
docker run -d -p 8000:8000 --name fba_server fba_server_independent
6464
```
6565

6666
@tab celery

docs/backend/reference/conf.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ openapi JSON 数据在线地址
4545

4646
### `DATABASE_TYPE` <Badge type="info" text="Literal['postgresql', 'mysql']" /> <Badge type="warning" text="env" />
4747

48-
指定数据库类型,仅支持 `postgresql``mysql`,需注意第三方插件兼容性
48+
数据库类型,仅支持 `postgresql``mysql`,需注意第三方插件兼容性
4949

5050
### `DATABASE_HOST` <Badge type="info" text="str" /> <Badge type="warning" text="env" />
5151

52-
提供数据库的主机地址
52+
数据库的主机地址
5353

5454
### `DATABASE_PORT` <Badge type="info" text="int" /> <Badge type="warning" text="env" />
5555

56-
提供数据库的主机端口号
56+
数据库的端口号
5757

5858
### `DATABASE_USER` <Badge type="info" text="str" /> <Badge type="warning" text="env" />
5959

60-
连接数据库所使用的用户名
60+
数据库用户名
6161

6262
### `DATABASE_PASSWORD` <Badge type="info" text="str" /> <Badge type="warning" text="env" />
6363

64-
连接数据库所使用的密码
64+
数据库认证密码
6565

6666
### `DATABASE_ECHO` <Badge type="info" text="bool | Literal['debug']" />
6767

@@ -91,23 +91,23 @@ openapi JSON 数据在线地址
9191

9292
### `REDIS_TIMEOUT` <Badge type="info" text="int" /> <Badge type="warning" text="env" />
9393

94-
连接 Redis 数据库超时时长
94+
Socket 读写操作的超时时间和 Redis 建立 TCP 连接时的超时时间
9595

9696
### `REDIS_HOST` <Badge type="info" text="int" />
9797

98-
连接 Redis 数据库的主机地址
98+
Redis 服务器的主机地址
9999

100100
### `REDIS_PORT` <Badge type="info" text="str" />
101101

102-
连接 Redis 数据库的主机端口号
102+
Redis 服务器的端口号
103103

104104
### `REDIS_PASSWORD` <Badge type="info" text="int" />
105105

106-
连接 Redis 数据库的密码
106+
Redis 认证密码
107107

108108
### `REDIS_DATABASE` <Badge type="info" text="str" />
109109

110-
全局默认使用的 Redis 逻辑数据库(0 - 15)
110+
全局默认使用的 Redis 逻辑数据库索引(0 - 15)
111111

112112
## Snowflake(雪花算法)
113113

0 commit comments

Comments
 (0)