Is spaces optional? #27
-
I'm not using supabase to store any images. I'm only using the database and auth. So do I need to pay for spaces to self host supabase? Or can I just pay $6 for a droplet? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @lsshawn, Spaces is optional and you can store your data on the Droplet (this obviously would mean that you would loose any data stored if the Droplet is restarted, but you seem to be ok with this). You would need to modify the docker-compose file to specify not to use the Spaces bucket within the storage container (see example in supabase repo) and you would have to remove any reference of creating the Spaces bucket within the terraform files here, here and here, as well as the env file here (I think I got them all but you'd have to check). You will still need to attach the Volume to the Droplet to ensure that the data being stored on the database is not lost should the droplet be restarted or upgraded. Tim |
Beta Was this translation helpful? Give feedback.
Hi @lsshawn,
Spaces is optional and you can store your data on the Droplet (this obviously would mean that you would loose any data stored if the Droplet is restarted, but you seem to be ok with this).
You would need to modify the docker-compose file to specify not to use the Spaces bucket within the storage container (see example in supabase repo) and you would have to remove any reference of creating the Spaces bucket within the terraform files here, here and here, as well as the env file here (I think I got them all but you'd have to check).
You will still need to attach the Volume to the Droplet to ensure that the data being stored on the database is not lost should the droplet be res…