Sharing Service Configuration
Introduction
The Infinite Scale Sharing service provides …
Services are under development because of the |
Configuration
Environment Variables
The sharing
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:9151 |
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:9150 |
The bind address of the GRPC service. |
|
string |
tcp |
The transport protocol of the grpc service. |
|
string |
The secret to mint and validate jwt tokens. |
|
|
string |
127.0.0.1:9142 |
The CS3 gateway endpoint. |
|
string |
127.0.0.1:9233 |
the address of the streaming service |
|
string |
ocis-cluster |
the clusterID of the streaming service. Mandatory when using nats |
|
bool |
false |
Disables the loading of user’s group memberships from the reva access token. |
|
string |
cs3 |
Driver to be used to persist shares. Possible values: "json", "cs3", "owncloudsql" |
|
string |
~/.ocis/storage/shares.json |
Path to the json file where shares will be persisted. |
|
string |
127.0.0.1:9215 |
GRPC address of the storage-system extension. |
|
string |
ID of the oCIS storage-system system user. Admins need to set the ID for the storage-system system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format. |
|
|
string |
internal |
IDP of the oCIS storage-system system user. |
|
string |
API key for the storage-system system user. |
|
|
string |
owncloud |
Username for the database. |
|
string |
Password for the database. |
|
|
string |
mysql |
Hostname or IP of the database server. |
|
int |
3306 |
Port that the database server is listening on. |
|
string |
owncloud |
Name of the database to be used. |
|
string |
Mount ID of the ownCloudSQL users storage for mapping ownCloud 10 shares. |
|
|
string |
cs3 |
Driver to be used to persist public shares. Possible values: "json", "cs3" |
|
string |
~/.ocis/storage/publicshares.json |
Path to the JSON file where public share meta-data will be stored. This JSON file contains the information about public shares that have been created. |
|
string |
127.0.0.1:9215 |
GRPC address of the storage-system extension. |
|
string |
ID of the oCIS storage-system system user. Admins need to set the ID for the storage-system system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format. |
|
|
string |
internal |
IDP of the oCIS storage-system system user. |
|
string |
API key for the storage-system system user. |
Since Version: +
added, -
deprecated
YAML Example
# Autogenerated
# Filename: sharing-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9151
token: ""
pprof: false
zpages: false
grpc:
addr: 127.0.0.1:9150
protocol: tcp
token_manager:
jwt_secret: ""
reva:
address: 127.0.0.1:9142
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
skip_user_groups_in_token: false
user_sharing_driver: cs3
user_sharing_drivers:
json:
file: ~/.ocis/storage/shares.json
cs3:
provider_addr: 127.0.0.1:9215
system_user_id: ""
system_user_idp: internal
system_user_api_key: ""
owncloudsql:
db_username: owncloud
db_password: ""
db_host: mysql
db_port: 3306
db_name: owncloud
user_storage_mount_id: ""
public_sharing_driver: cs3
public_sharing_drivers:
json:
file: ~/.ocis/storage/publicshares.json
cs3:
provider_addr: 127.0.0.1:9215
system_user_id: ""
system_user_idp: internal
system_user_api_key: ""