274 lines
6.0 KiB
Plaintext
274 lines
6.0 KiB
Plaintext
// set the attribute to true or leave empty, true without any quotes.
|
|
|
|
:show-deprecation: false
|
|
|
|
ifeval::[{show-deprecation} == true]
|
|
|
|
[#deprecation-note-2024-01-24-00-46-14]
|
|
[caption=]
|
|
.Deprecation notes for the thumbnails service
|
|
[width="100%",cols="~,~,~,~",options="header"]
|
|
|===
|
|
| Deprecation Info
|
|
| Deprecation Version
|
|
| Removal Version
|
|
| Deprecation Replacement
|
|
|===
|
|
|
|
endif::[]
|
|
|
|
[caption=]
|
|
.Environment variables for the thumbnails service
|
|
[width="100%",cols="~,~,~,~",options="header"]
|
|
|===
|
|
| Name
|
|
| Type
|
|
| Default Value
|
|
| Description
|
|
|
|
a|`OCIS_TRACING_ENABLED` +
|
|
`THUMBNAILS_TRACING_ENABLED` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates tracing.
|
|
|
|
a|`OCIS_TRACING_TYPE` +
|
|
`THUMBNAILS_TRACING_TYPE` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
|
|
|
a|`OCIS_TRACING_ENDPOINT` +
|
|
`THUMBNAILS_TRACING_ENDPOINT` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The endpoint of the tracing agent.
|
|
|
|
a|`OCIS_TRACING_COLLECTOR` +
|
|
`THUMBNAILS_TRACING_COLLECTOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
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.
|
|
|
|
a|`OCIS_LOG_LEVEL` +
|
|
`THUMBNAILS_LOG_LEVEL` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
|
|
|
a|`OCIS_LOG_PRETTY` +
|
|
`THUMBNAILS_LOG_PRETTY` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates pretty log output.
|
|
|
|
a|`OCIS_LOG_COLOR` +
|
|
`THUMBNAILS_LOG_COLOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates colorized log output.
|
|
|
|
a|`OCIS_LOG_FILE` +
|
|
`THUMBNAILS_LOG_FILE` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The path to the log file. Activates logging to this file if set.
|
|
|
|
a|`THUMBNAILS_DEBUG_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9189 ++
|
|
a| [subs=-attributes]
|
|
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
|
|
|
a|`THUMBNAILS_DEBUG_TOKEN` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Token to secure the metrics endpoint.
|
|
|
|
a|`THUMBNAILS_DEBUG_PPROF` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enables pprof, which can be used for profiling.
|
|
|
|
a|`THUMBNAILS_DEBUG_ZPAGES` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enables zpages, which can be used for collecting and viewing in-memory traces.
|
|
|
|
a|`THUMBNAILS_GRPC_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9185 ++
|
|
a| [subs=-attributes]
|
|
The bind address of the GRPC service.
|
|
|
|
a|`THUMBNAILS_HTTP_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9186 ++
|
|
a| [subs=-attributes]
|
|
The bind address of the HTTP service.
|
|
|
|
a|`OCIS_HTTP_TLS_ENABLED` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates TLS for the http based services using the server certifcate and key configured via OCIS_HTTP_TLS_CERTIFICATE and OCIS_HTTP_TLS_KEY. If OCIS_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true.
|
|
|
|
a|`OCIS_HTTP_TLS_CERTIFICATE` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name of the TLS server certificate (in PEM format) for the http services.
|
|
|
|
a|`OCIS_HTTP_TLS_KEY` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.
|
|
|
|
a|`THUMBNAILS_HTTP_ROOT` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++/thumbnails ++
|
|
a| [subs=-attributes]
|
|
Subdirectory that serves as the root for this HTTP service.
|
|
|
|
a|`THUMBNAILS_RESOLUTIONS` +
|
|
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[16x16 32x32 64x64 128x128 1080x1920 1920x1080 2160x3840 3840x2160 4320x7680 7680x4320] ++
|
|
a| [subs=-attributes]
|
|
The supported list of target resolutions in the format WidthxHeight like 32x32. You can define any resolution as required. See the Environment Variable Types description for more details.
|
|
|
|
a|`THUMBNAILS_FILESYSTEMSTORAGE_ROOT` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++/var/lib/ocis/thumbnails ++
|
|
a| [subs=-attributes]
|
|
The directory where the filesystem storage will store the thumbnails. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/thumbnails.
|
|
|
|
a|`OCIS_INSECURE` +
|
|
`THUMBNAILS_WEBDAVSOURCE_INSECURE` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Ignore untrusted SSL certificates when connecting to the webdav source.
|
|
|
|
a|`OCIS_INSECURE` +
|
|
`THUMBNAILS_CS3SOURCE_INSECURE` +
|
|
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Ignore untrusted SSL certificates when connecting to the CS3 source.
|
|
|
|
a|`OCIS_REVA_GATEWAY` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++com.owncloud.api.gateway ++
|
|
a| [subs=-attributes]
|
|
CS3 gateway used to look up user metadata
|
|
|
|
a|`THUMBNAILS_TXT_FONTMAP_FILE` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The path to a font file for txt thumbnails.
|
|
|
|
a|`THUMBNAILS_TRANSFER_TOKEN` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The secret to sign JWT to download the actual thumbnail file.
|
|
|
|
a|`THUMBNAILS_DATA_ENDPOINT` +
|
|
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++http://127.0.0.1:9186/thumbnails/data ++
|
|
a| [subs=-attributes]
|
|
The HTTP endpoint where the actual thumbnail file can be downloaded.
|
|
|===
|
|
|