#[SOLVED] Self-hosted storage bucket

1 messages · Page 1 of 1 (latest)

copper orchid
#

Is it possible to configure the storage path of a bucket if I'm running self-hosted docker and a local fs?

tranquil magnet
#

You either choose the local filesystem or a bucket. You cant use both at the same time

copper orchid
#

yea, but then on the console I need to create a new storage bucket, no?

tranquil magnet
#

not sure I get you

copper orchid
#

I'm running the default "local" configuration, I want to store files so I do need to add a bucket:

tranquil magnet
copper orchid
#

great, where can I find those files on the local fs? can I configure it?

tranquil magnet
tranquil magnet
#

Hope that makes sense ?

copper orchid
#

@tranquil magnet I've tried that and it didn't work, I've updated the yml to be

    volumes:
      - appwrite-uploads:/home/ubuntu/bucket-storage:rw
      - appwrite-cache:/storage/cache:rw
      - appwrite-config:/storage/config:rw
      - appwrite-certificates:/storage/certificates:rw
      - appwrite-functions:/storage/functions:rw

and then restarted the appwrite, but when I've uploaded a file via the console ui, I don't see it on that directory

tranquil magnet
copper orchid
#

so should I update both sides?

      - /home/ubuntu/bucket-storage:/home/ubuntu/bucket-storage:rw
      - appwrite-uploads:/storage/uploads:rw
      - appwrite-cache:/storage/cache:rw
      - appwrite-config:/storage/config:rw
      - appwrite-certificates:/storage/certificates:rw
      - appwrite-functions:/storage/functions:rw
tranquil magnet
copper orchid
#

Great, it's working - thanks a lot!!!

tranquil magnet