gbbirkisson / spis

Simple private image server 🖼️
GNU General Public License v3.0
128 stars 8 forks source link

Multiple users #174

Closed MaximosPr closed 8 months ago

MaximosPr commented 8 months ago

Could it be possible to add a feature where there are more than one users, each one accessing a different directory and have maybe an account or just the owner point each interface to a different port? I know that it might be forcing the project out of its original idea but I think it's a feature worth having.

gbbirkisson commented 8 months ago

I personally do this. The way to achieve this is to run two instances of SPIS and configure the proxy to route to either user 1 or user 2 depending on some condition (could be port, path, or something else).

MaximosPr commented 8 months ago

Two instances means like two docker downloads or I can add more volumes and environmental variables to an existing image?

gbbirkisson commented 8 months ago

I do not use docker personally. If you want to use docker you can either:

MaximosPr commented 8 months ago

All right I could try that! Thanks for the app my friend it is really helpful to have it. If you need any help I could try and lend a hand (however I'm now learning rust so I'm better in non coding stuff for now😅).