volumes: - $DOCKERDIR/filerun/html:/var/www/html - $DATAPOOL/Users:/user-files:rw # Mount local host user containing family shared files, into home users folders
- $DATAPOOL/Users/Local/Asterix:/user-files/Local/$USER1/Asterix - $DATAPOOL/Users/Local/Asterix:/user-files/Local/$USER2/Asterix
On my home PC and laptop, I have a single user account, the devices are shared with the family in this house. Documents, photo albums (+/- 600GB) are in the /Users/Local/Asterix folder.
Besides that everyone has their own folder.
In FileRun, to make that shared folder called Asterix available for multiple users, I use the volume mapping as shown above.
Currently I am running the create_thumbs.php script. Unfortunately, it creates thumbnails for each file with their absolute file path. This means, the 600GB of photos in /Asterix will have double thumbnails: for ../USER1/Asterix and for ../USER2/Asterix.
As a suggestion, files could have thumbnails that are relative. I don't know how without hashing everything for deduplication.. but perhaps there is a simpler solution possible when FileRun builds support to allow a user account to have >1 user folder :)
Customer support service by UserEcho