修改默认端口为16026

This commit is contained in:
2026-07-07 13:20:52 +08:00
parent fc43e6e806
commit ef4d26f11b
10 changed files with 155 additions and 28 deletions

View File

@@ -49,10 +49,10 @@ COPY . .
# 创建临时目录
RUN mkdir -p /tmp/web_captures
EXPOSE 16025
EXPOSE 16026
# 健康检查
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:16025/health || exit 1
CMD curl -f http://localhost:16026/health || exit 1
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:16025", "--timeout", "120", "app:app"]
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:16026", "--timeout", "120", "app:app"]