Uploading a file to a volume
jenxltd
HOBBYOP

6 months ago

Hi all,
Sorry this has probably been asked before!

Is there any way to upload a file to a volume? I'm trying to set up [JWT auth on a libsql image]() so wondered if it's possible to be able to upload the jwt key to the volume attached to my container?

Solved

4 Replies

6 months ago

Not yet but that is a planned feature, right now there are two ways of adding files on volumes:

  1. you attach the volume to something like Filebrowser and then make the changes within the volume before attaching the volume back to the original service

  2. you SSH into the service holding the volume and then use curl or something to download the file from a URL, for this you'd need to host the file on some sort of filebin or pastebin

option 2 might be easier for your situation


jenxltd
HOBBYOP

6 months ago

Ah ok, and I presume that's using the cli? I'll give SSH a try, thank you


6 months ago

exactly, and no problem


6 months ago

!s


Status changed to Solved dev 6 months ago


Loading...