diff options
| author | 2025-07-16 17:49:03 +0700 | |
|---|---|---|
| committer | 2025-07-16 17:49:03 +0700 | |
| commit | f968d443dc5c6e1f5140922313b0d6e8019fc269 (patch) | |
| tree | efe1507ec20feccbe408ca2b05303400546431b1 /config/config-b2.sample.json | |
| parent | 4fa22c837cb00b87cd43c0aceec26729b8c3fa48 (diff) | |
| download | thumbnail-generator-f968d443dc5c6e1f5140922313b0d6e8019fc269.tar.gz thumbnail-generator-f968d443dc5c6e1f5140922313b0d6e8019fc269.zip | |
feat: implement local-unix clients
Diffstat (limited to 'config/config-b2.sample.json')
| -rw-r--r-- | config/config-b2.sample.json | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/config/config-b2.sample.json b/config/config-b2.sample.json new file mode 100644 index 0000000..d3d772e --- /dev/null +++ b/config/config-b2.sample.json @@ -0,0 +1,44 @@ +{ + "ForceRewrite": false, + "MaxConcurrentJobs": 4, + "LogLevel": "info", + "Input": { + "Storage": { + "Type": "b2", + "Config": { + "BucketName": "sayana-photos", + "Region": "eu-central-003", + "Prefix": "full/", + "KeyID": "${B2_KEY_ID}", + "ApplicationKey": "${B2_APPLICATION_KEY}" + } + }, + "KnownExtensions": [ + "jpg", + "jpeg", + "png" + ] + }, + "Converter": { + "Type": "webp", + "Config": { + "Quality": 80, + "Size": { + "MaxWidth": 800, + "MaxHeight": 0 + } + } + }, + "Output": { + "Storage": { + "Type": "b2", + "Config": { + "BucketName": "sayana-photos", + "Region": "eu-central-003", + "Prefix": "thumbnails/", + "KeyID": "${B2_KEY_ID}", + "ApplicationKey": "${B2_APPLICATION_KEY}" + } + } + } +}
\ No newline at end of file |