Dokploy / dokploy

Open Source Alternative to Vercel, Netlify and Heroku.
https://dokploy.com/
Other
9.69k stars 487 forks source link

Allow support for NFS/CIFS volume mount (Useful for swarm modes) #790

Open ErSauravAdhikari opened 21 hours ago

ErSauravAdhikari commented 21 hours ago

What problem will this feature address?

I'm always frustrated that there is no easy way to configure external volume mounts based on network attached storage.

Describe the solution you'd like

Allow the admin to configure the following features

User permission can also be tied to the said volume destination (Linked to issue: #788 )

The volume destination can be something like the following:

For remote we have options such as: nfs, glusterfs, iscsi, sshfs, cifs, etc.

Describe alternatives you've considered

Creating docker volume manually and linking them

For example:

docker volume create --driver local \
  --opt type=nfs \
  --opt o=addr=[ip-address],rw \
  --opt device=:[path-to-directory] \
  [volume-name]

Additional context

Docker run command referenced from: https://phoenixnap.com/kb/nfs-docker-volumes

Will you send a PR to implement it?

Maybe (Need help)

sunnycatnice commented 3 hours ago

It would be very nice to have