-
-
Notifications
You must be signed in to change notification settings - Fork 43
Fix hardlink support by implementing TRaSH Guides volume mount structure #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…lients Co-authored-by: ajnart <49837342+ajnart@users.noreply.github.com>
|
@copilot read this : https://trash-guides.info/File-and-Folder-Structure/How-to-set-up/Docker/ And make the changes accordingly (according to the initial issue as well) Content of the page : data data data data data sudo chown -R $USER:$USER /data version: "3.2" |
Co-authored-by: ajnart <49837342+ajnart@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Updated volume mounts to follow TRaSH Guides recommendations (commit 133ccd0). Key changes:
This follows the exact structure from the TRaSH guide where Starr apps see the full All 96 tests passing. |
This PR addresses the hardlink compatibility issue by implementing the TRaSH Guides recommended volume mount structure with role-specific access controls for different service types.
Problem
The current configuration creates separate volume mounts for downloads and media directories:
This approach makes
/data/moviesand/data/downloadsappear as separate filesystems to containers, preventing hardlinks from working. When moving files from downloads to media folders, the system performs expensive file copies instead of instant hardlinks, resulting in:Solution
Updated volume mounts following TRaSH Guides best practices with role-specific mount points:
Starr Apps (Full
/dataaccess for hardlinks):Torrent Clients (Restricted to
/data/torrents):Usenet Clients (Restricted to
/data/usenet):Media Servers (Restricted to
/data/media):Changes Made
Updated 17 services across 2 files following TRaSH Guides structure:
Starr Apps (
/data- full access):Torrent Clients (
/data/torrents):Usenet Clients (
/data/usenet):Media Servers (
/data/media):Indexers (no data mount):
Benefits
/datafilesystemValidation
This change provides immediate benefits for users setting up media automation stacks while maintaining full backward compatibility and following industry best practices.
Fixes #17.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.