feat(storage): DigitalOcean Spaces disk + env documentation#53
Merged
Conversation
Adds 'spaces' to config/filesystems.php so self-hosters can switch FILESYSTEM_DISK=spaces without bolting onto the generic s3 disk. Env vars follow the existing R2/AWS convention (SPACES_ACCESS_KEY_ID / SPACES_SECRET_ACCESS_KEY), and use_path_style_endpoint is omitted so the SDK defaults to virtual-hosted style — the canonical request shape for DO Spaces. Also documents the five env vars in .env.example. Docs in the trypost-docs repo describe the matching FILESYSTEM_DISK=spaces stanza.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a dedicated `spaces` disk to `config/filesystems.php` so self-hosters can pick `FILESYSTEM_DISK=spaces` without bolting onto the generic `s3` disk.
Env vars follow the existing R2/AWS convention — `SPACES_ACCESS_KEY_ID` / `SPACES_SECRET_ACCESS_KEY` etc. — instead of inventing a new abbreviation. `use_path_style_endpoint` is intentionally omitted so the SDK defaults to virtual-hosted style (`https://{bucket}.{region}.digitaloceanspaces.com`), which is the canonical shape for DigitalOcean Spaces.
Changes
Test plan
🤖 Generated with Claude Code