Frontend Service Configuration
Introduction
The Infinite Scale Frontend service provides …
Services are under development because of the |
Configuration
Environment Variables
The frontend
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:9141 |
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:9140 |
The bind address of the HTTP service. |
|
string |
tcp |
The transport protocol of the http service. |
|
string |
The Path prefix where the frontend can be accessed (defaults to /). |
|
|
string |
Transfer secret for signing file up- and download requests. |
|
|
string |
The secret to mint and validate jwt tokens. |
|
|
string |
127.0.0.1:9142 |
The CS3 gateway endpoint. |
|
string |
Machine auth API key used for accessing the 'auth-machine' service to impersonate users. |
|
|
bool |
false |
Disables the loading of user’s group memberships from the reva access token. |
|
bool |
false |
Enables the support for favorites in the frontend. |
|
bool |
true |
Indicates to clients that project spaces are supposed to be made available. |
|
bool |
true |
Indicates to clients that the share jail is supposed to be used. |
|
int |
100000000 |
Sets the max chunk sizes for uploads via the frontend. |
|
string |
Advise TUS to replace PATCH requests by POST requests. |
|
|
string |
tus |
The default upload protocol to use in the frontend (e.g. tus). |
|
bool |
false |
Enables the support for resharing in the frontend. |
|
string |
https://localhost:9200 |
The public facing url of the ocis frontend. |
|
bool |
false |
Allow insecure connections to the frontend. |
|
int64 |
10000 |
Max number of files that can be packed into an archive. |
|
int64 |
1073741824 |
Max size of the zip archive the archiver can create. |
|
bool |
false |
Allow insecure connections to the archiver. |
|
string |
data |
|
|
string |
ocs |
Path prefix for the ocs service |
|
string |
/Shares |
Path prefix for shares. |
|
string |
/users/{{.Id.OpaqueId}} |
Homespace namespace identifier. |
|
string |
{{.Mail}} |
Additional information attribute for the user (e.g. {{.Mail}} |
|
int |
0 |
Max TTL for the resource info cache |
|
Supported checksum types to be announced to the client (e.g. md5) |
||
|
string |
Preferred checksum types to be announced to the client for uploads (e.g. md5) |
Since Version: +
added, -
deprecated
YAML Example
# Autogenerated
# Filename: frontend-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9141
token: ""
pprof: false
zpages: false
http:
addr: 127.0.0.1:9140
protocol: tcp
prefix: ""
transfer_secret: ""
token_manager:
jwt_secret: ""
reva:
address: 127.0.0.1:9142
machine_auth_api_key: ""
skip_user_groups_in_token: false
enable_favorites: false
enable_project_spaces: true
enable_share_jail: true
upload_max_chunk_size: 100000000
upload_http_method_override: ""
default_upload_protocol: tus
enable_resharing: false
public_url: https://localhost:9200
app_handler:
insecure: false
archiver:
max_num_files: 10000
max_size: 1073741824
insecure: false
data_gateway:
prefix: data
ocs:
prefix: ocs
share_prefix: /Shares
home_namespace: /users/{{.Id.OpaqueId}}
additional_info_attribute: '{{.Mail}}'
resource_info_cache_ttl: 0
checksums:
supported_types:
- sha1
- md5
- adler32
preferred_upload_type: ""
middleware:
auth:
credentials_by_user_agent: {}