Skip to content

Make Compose startup self-contained - #412

Merged
RyanLee-Dev merged 2 commits into
mainfrom
codex/bundle-compose-init-metadata
Oct 3, 2026
Merged

RyanLee-Dev merged 2 commits into
mainfrom
codex/bundle-compose-init-metadata

Conversation

@RyanLee-Dev

@RyanLee-Dev RyanLee-Dev commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

A downloaded release compose.yaml now publishes Web on 127.0.0.1:8080 by default and initializes entirely from its image. Users no longer need a second Compose file or a first-start download of the full release control archive.

  • Bundle only oac and four node metadata files in a scratch initialization image; pin its registry digest and validate release identity and metadata checksums.
  • Move Web publication into compose.yaml, retain OAC_HOST/OAC_WEB_PORT, remove ports.yaml and the installer’s COMPOSE_FILE setting, and update release assets and development callers.
  • Preserve installation identity, secret and existing-data checks. Use the database image’s filesystem tools for failed-install cleanup, since scratch init contains no shell utilities.
  • Update English/Chinese configuration and platform instructions: Dokploy/Coolify deployments remove Web’s ports block. Dokploy metadata now selects web.

Validation: Go init/Web tests; 22 distribution manifest, 38 publisher, 4 Compose, 36 CI selection and 5 Linux amd64 installer tests; translation, name, shell syntax and diff checks. Compose smoke verifies startup, sign-in, API, uploads, node installer and persistent restart with init networking disabled. Scratch initialization and database-image cleanup were also tested directly. The scratch test image is 2,375,530 bytes uncompressed, including approximately 128 KB of metadata; it contains no control archive or execution artifacts.

Full Linux platform coverage runs in CI. Independent review covers the complete change.

@RyanLee-Dev RyanLee-Dev changed the title Bundle Compose init metadata Make Compose startup self-contained Oct 3, 2026
@RyanLee-Dev
RyanLee-Dev merged commit 99ba9b4 into main Oct 3, 2026
20 checks passed
@RyanLee-Dev
RyanLee-Dev deleted the codex/bundle-compose-init-metadata branch October 3, 2026 11:38
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