fix: use dedicated LiteLLM port setting

This commit is contained in:
Codex
2026-07-22 00:54:32 -07:00
parent 6d91069f23
commit 54334af97a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,4 +2,5 @@
- 仅通过 HK 节点的 Tailscale IPv4 地址监听;`LISTEN_IP` 不要填写公网地址或 `0.0.0.0` - 仅通过 HK 节点的 Tailscale IPv4 地址监听;`LISTEN_IP` 不要填写公网地址或 `0.0.0.0`
- ADC、LiteLLM key 仅存放于 Arcane `.env`,不得提交 Git。 - ADC、LiteLLM key 仅存放于 Arcane `.env`,不得提交 Git。
- 默认监听端口为 `1049`;需要修改时设置 `LITELLM_PORT`
- 后续 Vertex Anthropic 模型在 `config.yaml` 增加独立模型项。 - 后续 Vertex Anthropic 模型在 `config.yaml` 增加独立模型项。
+1 -1
View File
@@ -28,7 +28,7 @@ services:
volumes: volumes:
- ./config.yaml:/app/config.yaml:ro - ./config.yaml:/app/config.yaml:ro
- google-adc:/credentials:ro - google-adc:/credentials:ro
command: ["--config", "/app/config.yaml", "--host", "${LISTEN_IP:-127.0.0.1}", "--port", "${HOST_PORT:-4000}"] command: ["--config", "/app/config.yaml", "--host", "${LISTEN_IP:-127.0.0.1}", "--port", "${LITELLM_PORT:-1049}"]
logging: logging:
driver: json-file driver: json-file
options: options: