diff options
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 |