#s3 storage via docker

5 messages · Page 1 of 1 (latest)

crimson ridge
#

Hello
I am trying to get S3 storage adapter set up via Docker compse file. I have created the bucket on Digitalocean and added following lines to my compose file:
STORAGE_LOCATIONS: 'digitalocean'
STORAGE_DIGITALOCEAN_DRIVER: 's3'
STORAGE_DIGITALOCEAN_ROOT: '/uploads'
STORAGE_DIGITALOCEAN_KEY: "****"
STORAGE_DIGITALOCEAN_SECRET: "*****"
STORAGE_DIGITALOCEAN_ENDPOINT: "https://bucket.fra1.digitaloceanspaces.com"
STORAGE_DIGITALOCEAN_BUCKET: 'bucket'
STORAGE_DIGITALOCEAN_REGION: 'fra1'
Nothig happens... When i try to upload file the uploader freezes.

I am sure it is something simple, but cound not find any examples.

Many thanks in advance!

vocal mesaBOT
#

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.)

upper coral
#

remove this: STORAGE_DIGITALOCEAN_ROOT: '/uploads'

and remove the trailing / in endpoint

#

glad I saw this because just realized my region was set to the wrong one (still worked tho)

crimson ridge