Skip to content

feat(compose): add import from base64 in create service dropdown#4395

Merged
Siumauricio merged 2 commits into
canaryfrom
feat/import-compose-from-base64
May 12, 2026
Merged

feat(compose): add import from base64 in create service dropdown#4395
Siumauricio merged 2 commits into
canaryfrom
feat/import-compose-from-base64

Conversation

@Siumauricio
Copy link
Copy Markdown
Contributor

Summary

  • Adds an Import option at the bottom of the Create Service dropdown
  • User pastes a base64-encoded compose export, clicks Load to preview the template (compose YAML, domains, env vars, mounts) — nothing is created in the DB at this point
  • On Import confirmation, the compose is created and the template applied in one shot
  • On Cancel, close, or backdrop click, no compose is left behind
  • Adds previewTemplate tRPC procedure that processes the base64 without touching the DB, with server access validation via the user session

Adds an "Import" option to the Create Service dropdown that lets users
paste a base64-encoded compose export, preview the template (compose YAML,
domains, envs, mounts) before confirming, and create the service only on
confirm. Adds a `previewTemplate` tRPC procedure that processes the base64
without touching the DB, with server access validation via session.
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label May 12, 2026
@dosubot dosubot Bot added the enhancement New feature or request label May 12, 2026
@Siumauricio Siumauricio merged commit 7a568aa into canary May 12, 2026
4 checks passed
@Siumauricio Siumauricio deleted the feat/import-compose-from-base64 branch May 12, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant