Add Digital Ocean spaces as storage option
See original GitHub issueDescription
those who do not use AWS s3 but use Digitalocean spaces have trouble deploying static and media, the configurations are a little different.
Solution
AWS_S3_ENDPOINT_URL = env(DJANGO_AWS_S3_ENDPOINT_URL)
AWS_LOCATION = env(DJANGO_AWS_LOCATION)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How do I add storage space? - DigitalOcean
There are two ways to add extra storage to your Droplet. First one being adding an extra Volumes and next being resizing the...
Read more >DigitalOcean Spaces | S3-Compatible Cloud Object Storage
S3-compatible object storage with a built-in CDN that makes scaling easy, reliable, and affordable. $5/mo.
Read more >Spaces - DigitalOcean Documentation
Spaces is an S3-compatible object storage service that lets you store and serve large amounts of data. The free, built-in Spaces CDN minimizes...
Read more >How to Create Spaces - DigitalOcean Documentation
DigitalOcean Spaces allows you to store and serve large amounts of data. Each Spaces bucket you create within an account has its own...
Read more >Storage - DigitalOcean Documentation
Spaces is an S3-compatible object storage service that lets you store and serve large amounts of data. The free, built-in Spaces CDN minimizes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think i found a solution, but need to be reproduced again. First of all need to update DO settings (Spaces -> Select a space -> Settings -> CORS Configurations):
My .envs/.production/.django:
My production config settings for STATIC and MEDIA (config/settings/production.py):
I don’t know, what is right solution, because i also removed
file_overwrite = False
.Is this still a requested feature @jeanluc243? I could knock this out this week.