Force Path Style Support for Docker Container
I am currently trying to use Minio as an S3 backend for Convex for local development. I ran into an issue where all uploads fail because Convex expects the S3 provider to support virtual-hosted-style URL's but Minio in a docker container requires force path styling. This has been a major blocker. It would be nice to have an environment variable flag that would allow convex to use force path styling.
I saw there's a closed PR (#122) that adds this, but it was not merged.
https://github.com/get-convex/convex-backend/pull/122
GitHub
feat: add
AWS_S3_FORCE_PATH_STYLE
environment variable support by...Summary
Adds support for the AWS_S3_FORCE_PATH_STYLE environment variable to enable path-style addressing for S3-compatible services.
Changes
Modified s3_client() function to check for AWS_S3_FORC...
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
feel free to revive that PR - I think it's reasonable! Just needed one small modification. @Cayter is around too. I'm sure they wouldn't mind if you wanted to pick it up.