feat: Add comprehensive historical and current Claude model IDs for API compatibility and dynamic Docker port configuration.

This commit is contained in:
CJACK
2026-02-17 14:01:31 +08:00
parent d0549c27c7
commit 76ae2fed51
9 changed files with 64 additions and 13 deletions

View File

@@ -4,14 +4,14 @@ services:
image: ds2api:latest
container_name: ds2api
ports:
- "${PORT:-5001}:5001"
- "${PORT:-5001}:${PORT:-5001}"
env_file:
- .env
environment:
- HOST=0.0.0.0
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:5001/healthz"]
test: ["CMD", "wget", "-qO-", "http://localhost:${PORT:-5001}/healthz"]
interval: 30s
timeout: 10s
retries: 3