It's nice to show a logo when we send receipts to sites. This configures active
storage to use (S3 compatible) Backblaze B2 storage to store these attachments.
Technically, active storage uses background jobs to process variants, but we
don't have a background job processor. In my experimentation, variants can also
be processed on the fly. Because we have such a tiny use case here (one logo per
org) I'm fine with that.
I picked the ENV vars based on vars AWS documents in their ruby sdk:
https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#initialize-instance_method
Todo
It's nice to show a logo when we send receipts to sites. This configures active
storage to use (S3 compatible) Backblaze B2 storage to store these attachments.
Technically, active storage uses background jobs to process variants, but we
don't have a background job processor. In my experimentation, variants can also
be processed on the fly. Because we have such a tiny use case here (one logo per
org) I'm fine with that.
I picked the ENV vars based on vars AWS documents in their ruby sdk:
https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MachineLearning/Client.html#initialize-instance_method
## Todo
- [x] create prod b2 bucket and application key
- [x] add env vars to prod