Skip to content

fix(docker): 更新健康检查路径并优化构建与日志#387

Merged
fastapiadmin merged 1 commit into
masterfrom
dev
May 12, 2026
Merged

fix(docker): 更新健康检查路径并优化构建与日志#387
fastapiadmin merged 1 commit into
masterfrom
dev

Conversation

@fastapiadmin
Copy link
Copy Markdown
Owner

  • 修正健康检查端点从 /api/v1/health 至 /common/health
  • Nginx 新增 /api/v1/common/health 直接返回 200 以绕过日志
  • Dockerfile 使用 COPY --chown 替代 RUN chown -R 以提升构建速度
  • deploy.sh 限制日志输出最近 50 行并去除前缀
  • Nginx SSL 配置更新为 http2 on 指令以兼容新版本

- 修正健康检查端点从 /api/v1/health 至 /common/health
- Nginx 新增 /api/v1/common/health 直接返回 200 以绕过日志
- Dockerfile 使用 COPY --chown 替代 RUN chown -R 以提升构建速度
- deploy.sh 限制日志输出最近 50 行并去除前缀
- Nginx SSL 配置更新为 http2 on 指令以兼容新版本
@fastapiadmin fastapiadmin merged commit 2a387a5 into master May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant