#Storage Adapters Documentations - Supabase Bucket storage

19 messages · Page 1 of 1 (latest)

fiery geyser
#

Hi folks, I'm not finding much documentation on integration with Supabase- I'm trying to find out how to get Directus's file system hooked up to Supabase's buckets, if that's possible? Supabase is S3 compatible, does that just mean that I can use the S3 settings?

karmic ospreyBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

south stratus
#

I’ll look into this on Monday. Answer is I personally don’t know, but I’ll find out because my team looks after docs and this feels like it should be noted explicitly.

fiery geyser
#

@south stratus any news on this?

south stratus
#

I was off sick yesterday and I’m still feeling a little bit off. I normally wouldn’t tap others in but I am gonna ping @outer zodiac on this who may, in turn, point to someone else. Apologies for the delay.

#

We’ve had this question a few times, so I want to make sure that it is answered, and then captured in docs

outer zodiac
#

Short answer to a long question:

Supabase is S3 compatible, does that just mean that I can use the S3 settings?

Yes!

fiery geyser
fiery geyser
hazy glacier
#

did anyone suceed in using supabase storage with directus so far? where can i find the s3 credentials?

hazy glacier
fiery geyser
#

Hi! I was unable to do this as it required a key. It was very simple to get AWS S3 up and running though.

hazy glacier
#

Alright thats a shame, thanks though!

hazy glacier
outer zodiac
# hazy glacier Is there any info somewhere on how to achieve this? <:pikapeeksmile:102978589386...

All the S3 configuration options are here: https://docs.directus.io/self-hosted/config-options.html#s3-s3

I'm not familiar with Supabase's storage abstraction, so I don't know where you'd get the S3 creds from them. If they're S3 compatible, that should be available somewhere tho!

hazy glacier
#

Thank you! 🤩

hazy glacier
#

However, i just got this answer from someone in the supabase discord:
"This is not possible. You don't have an s3 bucket with Supabase storage. They share S3 buckets against many instances. The concept of buckets in the storage interface is just part of the path in the backend to your part of that storage. And there is no s3 compatible interface to the storage-API that I know of. "

gray forum
#

What a pity! Did something change @hazy glacier? Also looking for a way to connect directus with the supabase storage