summaryrefslogtreecommitdiff
path: root/config/config.json
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-07-13 17:46:07 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-07-13 17:46:07 +0700
commit6fef5c8ea06b0b25542afc65b412c75aa3d879a2 (patch)
treecbd22f441364f01113cf6c38e4e0d7821efce4a0 /config/config.json
parentd84df694ba7ad566c4171e66377d8e43c14c7174 (diff)
downloadthumbnail-generator-6fef5c8ea06b0b25542afc65b412c75aa3d879a2.tar.gz
thumbnail-generator-6fef5c8ea06b0b25542afc65b412c75aa3d879a2.zip
feat: read config
Diffstat (limited to 'config/config.json')
-rw-r--r--config/config.json31
1 files changed, 31 insertions, 0 deletions
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