mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
Merge pull request #610 from haiwen/update_thumbnail_server_environment_variable
update:add THUMBNAIL_IMAGE_ORIGINAL_SIZE_LIMIT environment variable in thumbnail server
This commit is contained in:
commit
799dc90298
|
|
@ -128,3 +128,8 @@ Placeholder spot for shared volumes. You may elect to store certain persistent i
|
|||
* /opt/seafile-data/logs: This is the directory for logs.
|
||||
* /opt/seafile-data/seafile-data: This is the directory for seafile storage (if you use local storage).
|
||||
* /opt/seafile-data/seahub-data/thumbnail: This is the directory for thumbnail files.
|
||||
|
||||
## Common issues when settings up thumbnail server
|
||||
|
||||
### Thumbnails cannot be generated for high-resolution images
|
||||
This is because generating thumbnails for high-resolution images can impact system performance. You can raise the threshold by setting the `THUMBNAIL_IMAGE_ORIGINAL_SIZE_LIMIT` environment variable in the env file; the default is 256 (MB).
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ services:
|
|||
- JWT_PRIVATE_KEY=${JWT_PRIVATE_KEY:?Variable is not set or empty}
|
||||
- SITE_ROOT=${SITE_ROOT:-/}
|
||||
- INNER_SEAHUB_SERVICE_URL=${INNER_SEAHUB_SERVICE_URL:?Variable is not set or empty}
|
||||
- THUMBNAIL_IMAGE_ORIGINAL_SIZE_LIMIT=${THUMBNAIL_IMAGE_ORIGINAL_SIZE_LIMIT:-256}
|
||||
- SEAF_SERVER_STORAGE_TYPE=${SEAF_SERVER_STORAGE_TYPE:-}
|
||||
- S3_COMMIT_BUCKET=${S3_COMMIT_BUCKET:-}
|
||||
- S3_FS_BUCKET=${S3_FS_BUCKET:-}
|
||||
|
|
|
|||
Loading…
Reference in New Issue