Skip to content

Commit dab5eca

Browse files
committed
docs(readme): 更新默认端口配置说明
- 将默认监听端口从 8000 更新为 15555 - 修改 Web UI 访问地址的端口显示 - 更新 Docker 配置中的端口设置 - 调整相关文档中的端口引用 - 修正数据库环境变量说明中的访问地址 - 更新常用命令部分的端口配置说明
1 parent bb3bd25 commit dab5eca

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ cp .env.example .env
9898
| 变量 | 说明 | 默认值 |
9999
|------|------|--------|
100100
| `APP_HOST` | 监听主机 | `0.0.0.0` |
101-
| `APP_PORT` | 监听端口 | `8000` |
101+
| `APP_PORT` | 监听端口 | `15555` |
102102
| `APP_ACCESS_PASSWORD` | Web UI 访问密钥 | `admin123` |
103103
| `APP_DATABASE_URL` | 数据库连接字符串 | `data/database.db` |
104104

@@ -107,7 +107,7 @@ cp .env.example .env
107107
### 启动 Web UI
108108

109109
```bash
110-
# 默认启动(127.0.0.1:8000
110+
# 默认启动(0.0.0.0:15555
111111
python webui.py
112112

113113
# 指定地址和端口
@@ -176,7 +176,7 @@ python webui.py
176176

177177
也支持 `DATABASE_URL`,优先级低于 `APP_DATABASE_URL`
178178

179-
启动后访问 http://127.0.0.1:8000
179+
启动后访问 http://127.0.0.1:15555
180180

181181
## 打包为可执行文件
182182

@@ -331,11 +331,11 @@ cd codex-register
331331
docker-compose up -d
332332
```
333333

334-
服务启动后访问 http://localhost:8000
334+
服务启动后访问 http://localhost:15555
335335

336336
### 配置说明
337337

338-
**端口映射**:默认 `8000` 端口,可在 `docker-compose.yml` 中修改。
338+
**端口映射**:默认 `15555` 端口,可在 `docker-compose.yml` 中修改。
339339

340340
**数据持久化**
341341
```yaml
@@ -349,7 +349,7 @@ volumes:
349349
environment:
350350
- APP_ACCESS_PASSWORD=mypassword
351351
- APP_HOST=0.0.0.0
352-
- APP_PORT=8000
352+
- APP_PORT=15555
353353
```
354354
355355
### 常用命令

0 commit comments

Comments
 (0)