Thumbnails Service Configuration
Introduction
The Infinite Scale Thumbnails service provides …
Services are under development because of the |
Configuration
Environment Variables
The thumbnails
extension is configured via the following environment variables:
Name | Type | Default Value | Description |
---|---|---|---|
|
bool |
false |
Activates tracing. |
|
string |
The type of tracing. Defaults to "", which is the same as "jaeger". Allowed tracing types are "jaeger" and "" as of now. |
|
|
string |
The endpoint of the tracing agent. |
|
|
string |
The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset. |
|
|
string |
The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace". |
|
|
bool |
false |
Activates pretty log output. |
|
bool |
false |
Activates colorized log output. |
|
string |
The path to the log file. Activates logging to this file if set. |
|
|
string |
127.0.0.1:9189 |
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. |
|
string |
Token to secure the metrics endpoint |
|
|
bool |
false |
Enables pprof, which can be used for profiling |
|
bool |
false |
Enables zpages, which can be used for collecting and viewing in-memory traces. |
|
string |
127.0.0.1:9185 |
The address off the grpc service. |
|
string |
127.0.0.1:9186 |
The bind address of the HTTP service. |
|
string |
/thumbnails |
Subdirectory that serves as the root for this HTTP service. |
|
The supported target resolutions in the format WidthxHeight e.g. 32x32. You can provide multiple resolutions seperated by a comma. |
||
|
string |
~/.ocis/thumbnails |
The directory where the filesystem storage will store the thumbnails. |
|
bool |
false |
Ignore untrusted SSL certificates when connecting to the webdav source. |
|
bool |
false |
Ignore untrusted SSL certificates when connecting to the CS3 source. |
|
string |
127.0.0.1:9142 |
The CS3 gateway endpoint. |
|
string |
The path to a font file for txt thumbnails. |
|
|
string |
The secret to sign JWT to download the actual thumbnail file. |
|
|
string |
http://127.0.0.1:9186/thumbnails/data |
The HTTP endpoint where the actual thumbnail file can be downloaded. |
Since Version: +
added, -
deprecated
YAML Example
# 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
http:
addr: 127.0.0.1:9186
root: /thumbnails
thumbnail:
resolutions:
- 16x16
- 32x32
- 64x64
- 128x128
- 1920x1080
- 3840x2160
- 7680x4320
filesystem_storage:
root_directory: ~/.ocis/thumbnails
webdav_allow_insecure: false
cs3_allow_insecure: false
reva_gateway: 127.0.0.1:9142
font_map_file: ""
transfer_secret: ""
data_endpoint: http://127.0.0.1:9186/thumbnails/data