修改部署端口为 16025
- Flask 服务端口: 16025 - Docker 端口映射: 16025:16025 - systemd 服务配置更新 - 测试脚本端口更新 - 文档示例更新
This commit is contained in:
@@ -6,14 +6,14 @@ services:
|
||||
image: web-capture-api:latest
|
||||
container_name: web-capture-api
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "16025:16025"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
volumes:
|
||||
- ./captures:/tmp/web_captures
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:16025/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user