psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.45k stars 211 forks source link

how to use a smb windows network share? #264

Open jenny787 opened 1 year ago

jenny787 commented 1 year ago

I'm using psitransfer with docker (compose) and I cannot figure out a way to access my windows network shares, which are smb. It works only on local drives. I've tried all the usual ways, directly using the path, with forward and back slashes, wtih the hostname, with the ip. I also tried the docker compose volume cifs method as shown below:

volumes: uploads: driver_opts: type: "cifs" o: "username=userABC,password=passwordABC,vers=3.0" device: "//192.168.1.17/folderl1/!uploads"

None of these work. I get mkdir permission denied in the docker logs for psitransfer. Any tips?

Maytrok commented 7 months ago

an smb connection to an docker is kind of pointless. ( i am not an docker expert 😶 ) what do you want to achieve you can't directly access the files easily