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-local-unix.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-local-unix.sample.json')
| -rw-r--r-- | config/config-local-unix.sample.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/config/config-local-unix.sample.json b/config/config-local-unix.sample.json new file mode 100644 index 0000000..637a05a --- /dev/null +++ b/config/config-local-unix.sample.json @@ -0,0 +1,40 @@ +{ + "ForceRewrite": false, + "MaxConcurrentJobs": 4, + "LogLevel": "debug", + "Input": { + "Storage": { + "Type": "local-unix", + "Config": { + "MaxDepth": 3, + "Path": "/tmp/thumbnailing/full/" + } + }, + "KnownExtensions": [ + "jpg", + "jpeg", + "png" + ] + }, + "Converter": { + "Type": "webp", + "Config": { + "Quality": 80, + "Size": { + "MaxWidth": 800, + "MaxHeight": 0 + } + } + }, + "Output": { + "Storage": { + "Type": "local-unix", + "Config": { + "Path": "/tmp/thumbnailing/thumbnails/", + "DirPermissionMode": "0755", + "FilePermissionMode": "0644", + "AttributesImplementation": "xattr" + } + } + } +}
\ No newline at end of file |