Repository navigation
docs(observability): 补齐云上 GHCR + 同域名 /grafana/ 部署说明 - #394
Merged
gac0812 merged 2 commits intoAug 27, 2026
Merged
Conversation
按同一台机器已有 API、无源码目录的实际部署补上子路径、健康检查和国内拉镜像步骤。
gac0812
marked this pull request as ready for review
August 27, 2026 05:34
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Reviewed the complete compose, observability, environment, and Nginx changes. The /grafana/ routing and healthcheck wiring are coherent, but the new container environment handling exposes unrelated deployment secrets to the API and the documented plugin-disable fallback is ineffective with the current Compose interpolation. git diff --check passes; full Compose validation was unavailable because this workspace's Docker client has no Compose plugin.
整份 .env 不应进入 API 容器,以免 Grafana/Sentry 密钥被带进去;插件回退改用 `-` 插值,空字符串才能真正跳过安装。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ghcr.io/1024xengineer/timeflow-backend,云上不必再--build或放源码。/grafana/。observability/README.md写明国内 Docker Hub 镜像、.env观测变量,以及 Sentry token 和 App DSN 的区别。Test plan
docker compose -f docker-compose.yml -f docker-compose.observability.yml config能通过cp .env.example .env后填 JWT 与 Grafana 密码,overlay 能起 Grafanaobservability/README.md在无backend/的目录用 GHCR 镜像up -d --pull never/grafana/能打开登录页,/metrics对公网 404