Interaction with host's file system

Discuss the jamovi platform, possible improvements, etc.
Post Reply
danielqm
Posts: 2
Joined: Sat Jan 27, 2024 12:06 pm

Interaction with host's file system

Post by danielqm »

Hello,

I would like to use Jamovi behind a server, and I succeeded to build its Docker image and run it locally using the docker-compose at https://github.com/jamovi/jamovi. The matter is that instead of restricting file download/upload (in “Save”, “Export” etc) to the client side, I would like the users to access a docker volume or bind mount in the server side, in a similar way of what we do in Jamovi Desktop. I know Jamovi Cloud has an option for Microsoft OneDrive, so (I guess) it may be possible to achieve what we want, but I don’t know how…

Thank you in advance,
Daniel
User avatar
jonathon
Posts: 2627
Joined: Fri Jan 27, 2017 10:04 am

Re: Interaction with host's file system

Post by jonathon »

hi,

take a look here:

https://github.com/jamovi/jamovi/blob/c ... ml#L80-L81

if you run jamovi using the docker-compose file, it will map the "Documents" folder inside the container, so the user can open/save files to/from there. you can of course change this to a location of your choosing.

having said that ... if this is a service which is going to see moderate to heavy use, running a single jamovi instance like this is less than ideal.

the cloud service is designed for this use-case, and is quite affordable -- there's also an "on-prem" option if that's important.

drop us a line if you'd like to know more.

cheers

jonathon
danielqm
Posts: 2
Joined: Sat Jan 27, 2024 12:06 pm

Re: Interaction with host's file system

Post by danielqm »

Thank you, Jonathon. Indeed, it works

I'll keep your recommendations in mind.

Cheers,
Daniel
Post Reply