SquipwardS
Convex Community6mo ago
2 replies
Squipward

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
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...
feat: add `AWS_S3_FORCE_PATH_STYLE` environment variable support by...
Was this page helpful?