athens icon indicating copy to clipboard operation
athens copied to clipboard

Implement storage.Backend for DO Spaces

Open marpio opened this issue 8 years ago • 5 comments

Is your feature request related to a problem? Please describe. Digital Ocean Spaces https://www.digitalocean.com/products/spaces/ is a s3 compatible blob storage with nice pricing. It would be great to be able to use that as modules storage.

Describe the solution you'd like Spaces is s3 compatible and can be used with the minio client we're already using. We could probably use the minio implementation. The only thing to add would be configuration.

Additional context https://developers.digitalocean.com/documentation/spaces/

marpio avatar Oct 30 '18 21:10 marpio

It's look like even at their example, they are using minio go client. Probably we have second option that we could indicate in docs that in minio configuration you can pass DO credentials but we need to add environment variable for region.

t-tomalak avatar Oct 30 '18 22:10 t-tomalak

+1 on adding to docs (I added that label), good idea @t-tomalak

arschles avatar Oct 31 '18 17:10 arschles

Do we have seperate docs for storages which describe what storages are available, how to configure them etc.? Should we have one?

t-tomalak avatar Nov 01 '18 14:11 t-tomalak

I believe we don't, it would be great to have a section on storages with a walkthrough to help people set up any storage they like

would you mind opening an issue for that?

michalpristas avatar Nov 01 '18 15:11 michalpristas

Added issue for that. (https://github.com/gomods/athens/issues/848)

t-tomalak avatar Nov 01 '18 15:11 t-tomalak