feat(web): add a Docker Compose deploy option to app download instructions (BUNYIP-372) #370
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/BUNYIP-372-compose-download-instructions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a copy-pasteable Docker Compose deploy path to the per-app download instructions, per BUNYIP-372. The
container_instructionshelper (shared across every OCI-shipping app) offered onlydocker login/docker pull/docker run; an operator self-hosting a real service had to hand-write a compose file from the baredocker runstarting point.Change
compose.ymlskeleton (oneappservice with the interpolated image reference,restart: unless-stopped, and commented placeholders for ports / environment / volumes) plusdocker compose up -d.compose_blockhelper: renders the multi-line snippet in a newline-preserving<pre><code class="whitespace-pre">with a Copy button.command_blockcould not be reused because itswhitespace-nowrapcollapses a YAML block to one line.App-agnostic + safe
command_block: the snippet is passive Maud-escaped<code>/data-copycontent, and the click handler is the staticCOPY_CMD_JSconstant, so no API-sourced value enters executable JS.container_instructionsdoc comment to note the compose path.Verified
just check-containerscope: fmt + clippy (-D warnings) onbunyip-webgreen.#BUNYIP-372
🤖 Generated with Claude Code