Files
ocis/services/_includes/thumbnails-config-example.yaml
T
Ralf Haferkamp 7697b711de fix(thumbnails): Implement ratelimit for the grpc service
This moves the ratelimit ('THUMBNAILS_MAX_CONCURRENT_REQUESTS') from the
HTTP endpoint to the GRPC endpoint. The HTTP endpoint is just used for
downloading already created thumbnails. But the resource consuming part of
thumbnail generation happens in the GRPC service.
2024-10-09 12:19:23 +00:00

73 lines
1.2 KiB
YAML

# Autogenerated
# Filename: thumbnails-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9189
token: ""
pprof: false
zpages: false
grpc:
addr: 127.0.0.1:9185
tls: null
max_concurrent_requests: 0
http:
addr: 127.0.0.1:9186
tls:
enabled: false
cert: ""
key: ""
root: /thumbnails
cors:
allow_origins:
- '*'
allow_methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
allow_headers:
- Authorization
- Origin
- Content-Type
- Accept
- X-Requested-With
- X-Request-Id
- Cache-Control
allow_credentials: true
grpc_client_tls: null
thumbnail:
resolutions:
- 16x16
- 32x32
- 64x64
- 128x128
- 1080x1920
- 1920x1080
- 2160x3840
- 3840x2160
- 4320x7680
- 7680x4320
filesystem_storage:
root_directory: /var/lib/ocis/thumbnails
webdav_allow_insecure: false
cs3_allow_insecure: false
reva_gateway: com.owncloud.api.gateway
font_map_file: ""
transfer_secret: ""
data_endpoint: http://127.0.0.1:9186/thumbnails/data
max_input_width: 7680
max_input_height: 7680
max_input_image_file_size: 50MB