修改部署端口为 16025
- Flask 服务端口: 16025 - Docker 端口映射: 16025:16025 - systemd 服务配置更新 - 测试脚本端口更新 - 文档示例更新
This commit is contained in:
@@ -49,10 +49,10 @@ COPY . .
|
||||
# 创建临时目录
|
||||
RUN mkdir -p /tmp/web_captures
|
||||
|
||||
EXPOSE 5000
|
||||
EXPOSE 16025
|
||||
|
||||
# 健康检查
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD curl -f http://localhost:5000/health || exit 1
|
||||
CMD curl -f http://localhost:16025/health || exit 1
|
||||
|
||||
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "--timeout", "120", "app:app"]
|
||||
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:16025", "--timeout", "120", "app:app"]
|
||||
Reference in New Issue
Block a user