[GH-ISSUE #783] [Feature/Fix]: Add a $HOME environment variable to the compose file by default #378

Closed
opened 2026-10-20 17:28:13 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @henkdag on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/783

Originally assigned to: @cha1latte on GitHub.

What problem does this solve?

When having both SillyTavern and Marinara Engine run as containers, it will prevent a permission issue when trying to map the data folder from ST to a ME volume. This would save other users from facing the same issue.

Proposed solution

Set a HOME env by default in the compose file.

Alternatives considered

Additional context

I had both Marinara Engine and Sillytavern run as two separate containers on my system. Wanting to move my data over to Marinara, I tried mapping the /data folder of ST to a volume in ME. It raised a permission issue stating that only files within the home directory can be added, which is /root by default. Attaching the volume to /root however, raised an access denied error. I fixed this issue by setting the $HOME variable to /app.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • [] I DID NOT read this template and provide the requested details.
Originally created by @henkdag on GitHub (May 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/783 Originally assigned to: @cha1latte on GitHub. ## What problem does this solve? <!-- Describe the pain point or gap this feature would address --> When having both SillyTavern and Marinara Engine run as containers, it will prevent a permission issue when trying to map the data folder from ST to a ME volume. This would save other users from facing the same issue. ## Proposed solution <!-- What would you like to see added or changed? --> Set a HOME env by default in the compose file. ## Alternatives considered <!-- Any other approaches you thought about? --> ## Additional context I had both Marinara Engine and Sillytavern run as two separate containers on my system. Wanting to move my data over to Marinara, I tried mapping the /data folder of ST to a volume in ME. It raised a permission issue stating that only files within the home directory can be added, which is /root by default. Attaching the volume to /root however, raised an access denied error. I fixed this issue by setting the $HOME variable to /app. <!-- Optional: mockups, related issues, references, or examples --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:28:13 +07:00
Author
Owner

@cha1latte commented on GitHub (May 13, 2026):

Triage note: labeling this as normal-scope because it addresses a specific Docker compose permission issue by changing the existing container configuration, without adding a new product surface.

Keep this in the normal enhancement/fix backlog; the implementation should verify container data-volume behavior and avoid changing non-container runtime paths.

<!-- gh-comment-id:4443731238 --> @cha1latte commented on GitHub (May 13, 2026): Triage note: labeling this as `normal-scope` because it addresses a specific Docker compose permission issue by changing the existing container configuration, without adding a new product surface. Keep this in the normal enhancement/fix backlog; the implementation should verify container data-volume behavior and avoid changing non-container runtime paths.
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#378
No description provided.