[PR #807] [MERGED] Add HOME default to Docker Compose #4779

Closed
opened 2026-10-22 04:10:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/807
Author: @cha1latte
Created: 5/13/2026
Status: ✅ Merged
Merged: 5/13/2026
Merged by: @cha1latte

Base: main ← Head: fix/issue-783-compose-home


📝 Commits (1)

  • d2b44c8 Add HOME default to Docker Compose

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 docker-compose.yml (+1 -0)

📄 Description

Linked issue

Closes #783

Why this change

  • Container users who mount SillyTavern data into Marinara can hit import/path permission checks because the container HOME falls back to /root. Setting HOME to /app by default aligns those checks with the writable application directory used by the official image.

What changed

  • Added HOME=/app to the default docker-compose.yml environment block.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Codex ran docker compose config and confirmed the rendered marinara service environment includes HOME: /app.
  • Codex ran pnpm check; it passed after installing locked dependencies in the isolated worktree.
  • Codex built a local branch image with docker build -t marinara-engine:issue-783-compose-home ., then ran it through Docker Compose using a scratch override for that image.
  • Codex confirmed the running branch-built container reports HOME=/app, stays up on 127.0.0.1:7860->7860/tcp, and has no startup warnings in docker compose logs --tail 120 marinara.
  • Codex ran docker compose down after verification; no test containers were left running.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No docs or release metadata changes. The default compose file now carries the HOME value directly.

UI evidence (if applicable)

N/A; this is a Docker Compose configuration change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/807 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/13/2026 **Status:** ✅ Merged **Merged:** 5/13/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `fix/issue-783-compose-home` --- ### 📝 Commits (1) - [`d2b44c8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d2b44c89974a510194dee34266099502ce7821ca) Add HOME default to Docker Compose ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docker-compose.yml` (+1 -0) </details> ### 📄 Description ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #783 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - Container users who mount SillyTavern data into Marinara can hit import/path permission checks because the container HOME falls back to `/root`. Setting HOME to `/app` by default aligns those checks with the writable application directory used by the official image. ## What changed <!-- List the key changes in this PR --> - Added `HOME=/app` to the default `docker-compose.yml` environment block. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - Codex ran `docker compose config` and confirmed the rendered `marinara` service environment includes `HOME: /app`. - Codex ran `pnpm check`; it passed after installing locked dependencies in the isolated worktree. - Codex built a local branch image with `docker build -t marinara-engine:issue-783-compose-home .`, then ran it through Docker Compose using a scratch override for that image. - Codex confirmed the running branch-built container reports `HOME=/app`, stays up on `127.0.0.1:7860->7860/tcp`, and has no startup warnings in `docker compose logs --tail 120 marinara`. - Codex ran `docker compose down` after verification; no test containers were left running. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No docs or release metadata changes. The default compose file now carries the HOME value directly. ## UI evidence (if applicable) N/A; this is a Docker Compose configuration change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:10:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4779
No description provided.