-
Notifications
You must be signed in to change notification settings - Fork 43
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
Multi User with own Folder #61
Comments
Hello, This is not provided out of the box, but achievable. The hard way: you modify configuration files to achieve multiuser support. This is supported in that the image supports various configuration files. The "easy" way is a reason why we actually have containers and Docker: you run one container per user. Each container serves each user and mounts separate folders. Each instance is perfectly isolated to each other and does not even "know" that other instances exist. If you happen to have a reverse proxy in front of all containers, this will even be somehow transparent to each user as they will connect to either user1.server.com, user2.server.com or server.com/user1, server.com/user2, and so on. This could be handled by a single Docker Compose file. |
Hi, Nice to see there are possibilities to achieve that but unfortunately I'm a noob at this. Having different subdomain for each account is not applicable for my situation either. Well, could you please guide me what files need to be modified (from the tutorial). |
I need that too. The way I host right now I have custom locations in NPM and each custom location like The problem with this approach is that there is a bug in NPM (I need to report) that when one custom location is down, the NPM is in looping state and can't login to NPM so it's kind a killer setup, serious bug. Thus I would prever single container with multiple users. The way I achieved folder per user in bare Nginx is that I also have location per user, but if I could delegate this to your container it would not affect NPM.
Ideally there should be just one pwd file, and somehow parsed user names can create a location per user name, and only allow that user name to access it's own folder. Right now I have pwd file per location to achieve that |
@EdenSpire if you want webdav container per user, you can do something like this, just keep in mind if once of the webdav containers go down, you won't be able to login to NPM (at least after NPM restart)
|
Hi skironDorNet, Where I must put the config? |
Hi All, Today I tried to enable MultiUser support and it was so easy, only one container needed. You only need to edit /config/nginx/server.conf and re-deployb/ restart the container. This topic can be closed. |
Multiuser support is indeed easy to setup with only one container.
The log of the container should contain some information about the custom init-script:
WebDAV with basic login and custom folders per user works for me with the integrated web-client, Filestash.app, Dolphin (KDE file manager) and Linux mount ( edit: an entry in |
Hello,
Is it possible to have multi user with their own folder?
For example,
User Samantha will have folder user1
User Josh will have folder user2
Each user has their own username and password.
If this is possible will be great as additional feature.
Rgds
The text was updated successfully, but these errors were encountered: