From 6fef5c8ea06b0b25542afc65b412c75aa3d879a2 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sun, 13 Jul 2025 17:46:07 +0700 Subject: feat: read config --- config/config.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 config/config.json (limited to 'config/config.json') diff --git a/config/config.json b/config/config.json new file mode 100644 index 0000000..d818107 --- /dev/null +++ b/config/config.json @@ -0,0 +1,31 @@ +{ + "Input": { + "Storage": { + "Type": "b2", + "Config": { + "BucketName": "sayana-photos", + "Region": "eu-central-003", + "Prefix": "full/", + "KeyID": "${B2_KEY_ID}", + "ApplicationKey": "${B2_APPLICATION_KEY}" + } + } + }, + "Output": { + "Storage": { + "Type": "b2", + "Config": { + "BucketName": "sayana-photos", + "Region": "eu-central-003", + "Prefix": "thumbnails/", + "KeyID": "${B2_KEY_ID}", + "ApplicationKey": "${B2_APPLICATION_KEY}" + } + }, + "Quality": 80, + "Size": { + "MaxWidth": 1280, + "MaxHeight": 0 + } + } +} \ No newline at end of file -- cgit v1.3.1+13