From f968d443dc5c6e1f5140922313b0d6e8019fc269 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Wed, 16 Jul 2025 17:49:03 +0700 Subject: feat: implement local-unix clients --- config/config-b2.sample.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 config/config-b2.sample.json (limited to 'config/config-b2.sample.json') 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 -- cgit v1.3.1+13