mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2099] [MERGED] Fix Docker runtime data bind mount #5437
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5437
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2099
Author: @cha1latte
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/docker-runtime-data-bind📝 Commits (6)
a3c43e4Fix Docker runtime data bind mount3d0e8fdPreserve Docker data volume by default04a98a1Clarify Docker data migration override780dc96Document Docker bind mount ownership riskd7977feClarify Docker compose data docsa70b8eaDocument Docker legacy data root layout📊 Changes
5 files changed (+42 additions, -3 deletions)
View changed files
📝
.gitignore(+1 -0)📝
CONTRIBUTING.md(+10 -1)📝
README.md(+12 -0)📝
docker-compose.yml(+1 -1)📝
docs/developer/run-build.html(+18 -1)📄 Description
Linked issue
No linked GitHub issue yet. This is from a reported refactor Docker migration parity bug where the remote runtime container could not see the expected app data folder.
Why this change
/datain a named Docker volume by default. That is safe for existing Docker users, but testers also need an intentional way to bind copied app data into the runtime for migration parity checks.What changed
marinara-server-datavolume as the default Compose/datamount.MARINARA_HOST_DATA_DIRas an override for binding a copied app data directory into the container..docker-marinara-data/test users can keep using that folder explicitly withMARINARA_HOST_DATA_DIR..docker-marinara-data/in git.Refactor impact
Primary owner:
Remote runtime / Docker runtime configuration.
Impact areas reviewed:
MARINARA_DATA_DIR=/datacontractBoundary notes:
Pressure points touched:
Validation
pnpm checkpasses before PR push/handoffManual verification notes
node scratch\docker-data-volume-repro.mjspassed after confirming Compose preserves the Compose-managedmarinara-server-datadefault and supportsMARINARA_HOST_DATA_DIR.docker compose configresolved/datato the Compose-managedmarinara-server-datavolume.MARINARA_HOST_DATA_DIR=C:\tmp\marinara-docker-data docker compose configresolved/datato the host bind mountC:\tmp\marinara-docker-data.pnpm check:docspassed.pnpm checkpassed..docker-marinara-data/compatibility override.MARINARA_HOST_DATA_DIRat a throwaway copy of real app data and confirms the migration path behaves as expected.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdDocs updated: README, CONTRIBUTING, and developer run/build docs now describe the default Compose-managed Docker data volume,
.docker-marinara-data/compatibility override, root-owned-file risk, and migration-parity override.UI evidence
N/A. No visible UI changed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.