Skip to content

Commit e71f949

Browse files
docs(ops): sync DEPLOYMENT.md to v1.7.50 live state
1 parent bb9d5ec commit e71f949

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

ops/DEPLOYMENT.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
> 真值以 `docker ps` 为准,不信文档。文档滞后时以线上状态为准并反向更新本文。
44
5-
## 1. 线上状态(截至 2026-05-13 11:30
5+
## 1. 线上状态(截至 2026-05-13 14:18
66

77
|||
88
|---|---|
9-
| 镜像 | `codex2api:v1.7.49-tool-calls-fix``latest`|
9+
| 镜像 | `codex2api:v1.7.50-partial-images``latest`|
1010
| 容器 | `codex2api` |
11-
| 端口 | `8121`(nginx upstream 指向 127.0.0.1:8121|
11+
| 端口 | `8122`(nginx upstream 指向 127.0.0.1:8122|
1212
| 部署目录 | `/data/codex2api/` |
1313
| Admin | https://cx.wyzai.top/admin/ secret = `65187777` |
1414
| 数据库 | PG `codex2api-postgres`, Redis `codex2api-redis`, 网络 `codex2api_codex2api-net` |
@@ -18,7 +18,7 @@
1818
| 容器 body 上限 | **64 MB**`CODEX_MAX_REQUEST_BODY_SIZE_MB=64`|
1919
| Dialog 采集 | ✅ 启用(默认 true,写入 PG `dialog_logs`|
2020
| Prefer-paid 调度 | Admin 面板运行时开关(默认 OFF = prefer_free)|
21-
| 本地 git HEAD | `5194ab7``merge/upstream-2026-05-10`,未 push)|
21+
| 本地 git HEAD | `bb9d5ec``merge/upstream-2026-05-10`,未 push)|
2222

2323
## 2. SSH 接入
2424

@@ -40,10 +40,10 @@ sshpass -p '2R18UapfDNoT' ssh -p 24598 root@156.238.226.55
4040
```bash
4141
SSH='sshpass -p f3t7uCBeTCizT12 ssh -p 22222 -o StrictHostKeyChecking=no root@152.53.240.159'
4242
SCP='sshpass -p f3t7uCBeTCizT12 scp -P 22222 -o StrictHostKeyChecking=no'
43-
OLD=8121; NEW=8122; TAG=v1.7.50-xxx
43+
OLD=8122; NEW=8123; TAG=v1.7.51-xxx
4444
```
4545

46-
> **下次端口**81218122(或 8123,都空着;切忌选 8120 = sms-relay)
46+
> **下次端口**81228123(或回轮 8121;切忌选 8120 = sms-relay)
4747
>
4848
> **起容器前先验空**`ss -tlnp | grep ":81[12][0-9]"` 确认目标端口无人监听
4949
@@ -176,7 +176,8 @@ docker exec codex2api-postgres psql -U codex2api -d codex2api -c \
176176
| v1.7.45-sse-keepalive | 8122 | 2026-05-04 | SSE/JSON 双路径 keepalive 防 CF 100s idle |
177177
| v1.7.47-prefer-paid | 8125 | 2026-05-08 | 付费账号优先 Free 兜底(admin 开关)+ Dialog logs 异步采集(⚠️ 代码曾仅在服务器,已合并回本地 9fcd50b)|
178178
| v1.7.48-upstream-may10-paid | 8123 | 2026-05-10 | upstream port(流式 usage / 5h 紧迫性 / 工具参数剥离 / validation 扩充)+ 合并回 v1.7.47 的 prefer-paid & dialog logs + 413 提到 64MB |
179-
| **v1.7.49-tool-calls-fix** | **8121** | **2026-05-13** | **修复非流式 ChatCompletions tool_calls 丢失:从 `response.output_item.done` 收 function_call(上游不一定在 `completed.output[]` 回填)**,stream=true 不受影响 |
179+
| v1.7.49-tool-calls-fix | 8121 | 2026-05-13 | 修复非流式 ChatCompletions tool_calls 丢失:从 `response.output_item.done` 收 function_call(上游不一定在 `completed.output[]` 回填),stream=true 不受影响 |
180+
| **v1.7.50-partial-images** | **8122** | **2026-05-13** | **修复 `metadata.image_partial_images` 不生效:Translator 在两条路径上都把 `response.image_generation_call.partial_image` 事件静默丢弃,现在渐进预览帧会输出为单独的 markdown image content chunk(N partial + 1 final)**|
180181

181182
## 8. 不要再做的事
182183

@@ -203,7 +204,7 @@ docker exec codex2api-postgres psql -U codex2api -d codex2api -c \
203204

204205
```bash
205206
# /data/codex2api/.env
206-
CODEX_PORT=8121 # 当前端口(随蓝绿轮换)
207+
CODEX_PORT=8122 # 当前端口(随蓝绿轮换)
207208
CODEX_MAX_REQUEST_BODY_SIZE_MB=64 # 请求体上限,默认 32MB;v1.7.48 起调到 64MB 解决 413
208209
DIALOG_COLLECTION_ENABLED=true # 对话采集总开关(默认 true,启动级);false=不创建实例
209210
CODEX_TRANSPORT_MODE=standard # TLS 指纹:standard=Go 原生 / utls_chrome=仿 Chrome

0 commit comments

Comments
 (0)