Is there a way to access/upload to local

Is there a way to access/upload to local R2 from my container or do I have to run wrangler dev --remote to work with workers + containers + r2? I'm using S3 API to interact with R2 from my container.
2 Replies
goofysystem
goofysystemOP4mo ago
GitHub
🚀 Feature Request: Ability to emulate a public R2 bucket when de...
Describe the solution Under Wrangler 2, when running locally any files you'd upload to a "local" R2 bucket would be saved in a directory with the exact filename you gave it at upload ...
goofysystem
goofysystemOP4mo ago
I'm using container to generate a pdf ticket with a qr code and upload it to R2. After this task, cloudflare worker handles the next step of fetching from R2 and then sending an email. The issue is that the containerized rust service is uploading to an actual R2 bucket while local worker queries local storage.

Did you find this page helpful?