Commit Graph
27 Commits
Author SHA1 Message Date
Dariusz Korytoandtianma-if df22f55d1c feat(docker): report image build metadata in System information (#602)
Docker instances reported most deployment fields as unknown. Report how
and when the container image was built, separately from how the
instance was deployed:

- Dockerfile: optional EDGE_EVER_BUILD_CREATED_AT, EDGE_EVER_BUILD_TRIGGER
  and EDGE_EVER_BUILD_METHOD build args, empty by default.
- /api/health (self-hosted-bun only): optional buildCreatedAt and
  buildProvenance. deploymentVersionCreatedAt and deployment keep their
  meaning and stay runtime-supplied; Cloudflare responses are unchanged.
- docker-image.yml: official images record the build time and their
  provenance. Draft-release builds dispatched with release_tag are
  github_release, main pushes main_push, other dispatches manual.
  The container test checks the health response for a metadata build
  with runtime overrides and for a default self-build; the post-publish
  audit checks the published image.
- Add an explicit `docker` deployment method. It is never inferred from
  the runtime, and the registry source still comes only from
  EDGE_EVER_CONTAINER_IMAGE.
- Web/desktop show "Image built at" and "Image build source" for Docker;
  Android shows "Image built at". Older clients ignore the new fields.
- Document the build args and runtime variables in both Docker guides.

Co-authored-by: tianma-if <yingwaizhiying@gmail.com>
2026-10-18 11:43:41 +08:00
tianma-if dc7c00e538 fix(docker): keep the historical self-hosted entry path
NAS/GUI upgrades often reuse the v1.62 command
`bun scripts/self-hosted-server.mjs`. Keep that path as an alias of the
bundled runtime so those containers start after v1.63.

Fixes #381
2026-09-10 15:42:09 +08:00
tianma-if a853c92350 fix(docker): persist credential encryption secrets on the data volume
NAS GUI upgrades that drop container environment variables could leave
login working while AI and object-storage credentials could no longer be
encrypted. Persist the encryption root on /data, generate one when an
existing instance has no secret, and stop the add-service form from
looking fillable when encryption is still unavailable.

Fixes #370
2026-09-09 18:11:58 +08:00
tianma-if 3bb025963f perf(docker): ship bundled production runtime 2026-09-09 12:56:42 +08:00
tianma-if 6197d9b47c fix: preserve runtime dependencies in Docker image 2026-09-09 01:00:42 +08:00
tianma-if a16de56268 fix: harden Docker startup on legacy kernels 2026-09-08 16:54:25 +08:00
tianma-if 2d703a9ed5 fix(docker): retain public network production dependency 2026-09-04 14:06:50 +08:00
tianma-if 20013a3596 fix(docker): install public network runtime dependency 2026-09-04 14:02:08 +08:00
tianma-if c90f685f07 fix(docker): include public network workspace manifest 2026-09-04 13:57:25 +08:00
tianma-if 10b50829ee feat: report Docker image source in system info 2026-08-30 18:46:50 +08:00
tianma-if d483f6db00 feat: expand shared system diagnostics 2026-08-29 21:37:07 +08:00
tianma-if 13c041c9c8 fix(docker): include Wrangler workspace manifest 2026-08-28 22:23:46 +08:00
tianma-if 993307e788 ci(docker): limit TCR sync to releases 2026-08-26 21:55:05 +08:00
tianma-if 5ab291cbcd fix(tcr): retry transient CNB image builds 2026-08-25 23:37:31 +08:00
tianma-if 87e0c1e6d4 perf(tcr): build images inside Tencent Cloud 2026-08-25 23:22:53 +08:00
tianma-if 16669b995c perf(release): streamline TCR image mirroring 2026-08-25 21:11:30 +08:00
tianma-if 95e0f3eb97 fix(release): mirror TCR images asynchronously 2026-08-25 19:23:14 +08:00
tianma-if bc6fdfdcd4 fix(ci): copy release images to TCR with skopeo 2026-08-25 18:38:38 +08:00
tianma-if d16412f3ae fix(ci): retry transient Docker registry mirror failures 2026-08-24 02:18:47 +08:00
tianma-if fcf4689f5b fix(release): mirror Docker images after GHCR publish 2026-08-23 10:49:01 +08:00
tianma-if 1fe5112a80 fix(release): allow Docker image publish to finish 2026-08-23 02:15:10 +08:00
tianma-if 357230a2ed fix(docker): publish releases to Tencent TCR 2026-08-22 11:20:09 +08:00
tianma-if 22218c6678 fix: package release summary in Docker runtime 2026-08-20 15:00:43 +08:00
tianma-if fa6ae98101 fix: include release summary in Docker builds 2026-08-20 14:55:34 +08:00
tianma-if 8a9456364d fix(ci): resolve draft Docker release metadata 2026-08-19 00:36:52 +08:00
tianma-if f525e9b55d fix(ci): allow Docker release to inspect drafts 2026-08-19 00:28:46 +08:00
tianma-if b83e99a9ac feat(docker): add shared-runtime self-hosted deployment 2026-08-19 00:10:53 +08:00