Multiple shares to docker?

tsaG

Dabbler
Joined
Jun 20, 2022
Messages
14
Hi,

I am currently migrating from a Synology NAS to TrueNas Scale. I am trying to share multiple datasets with one docker container (nextcloud). However, using the "Configure Additional app storage" in the "Apps" I can only add one Path.

I currently have 5 Folders I want to assign several Users

Thinktank/Public
Thinktank/Private
Thinktankt/User_shares/User1
Thinktankt/User_shares/User2
Thinktankt/User_shares/User3

Public is available for everyone via SMB, Private is available for registered users on (User1, 2 3) via SMB, Userfolder 1 2 and 3 are available via nextcloud to the respective user.

How would you configure multiple folders for the container?

I already tried to use the "external datashares" plugin but then you also can't use the specific folder as root folder but have to click on the "external" folder first.

EDIT: I have the same "problem" with Jellyfin where I would like to share my "Movies", "Series" and "Documentation" Folders.
 
Last edited:

MountainMan

Dabbler
Joined
Dec 10, 2020
Messages
42
If you're using the "Launch Docker Image" button to create these, then you just add as many "Host Path Volumes" as you need to expose. Like here are two paths I have mounted, if I wanted a 3rd I'd just click the "Add" button again.
 

Attachments

  • tnas-scale-storage.png
    tnas-scale-storage.png
    329.8 KB · Views: 171
Top