Files
ocis/extensions/_includes/storage-users_configvars.md
T
Martin 0d5a882656 commit b554e059bb
Merge: 33299ceb3 444ffa5e7
Author: Martin <github@diemattels.at>
Date:   Tue Jun 14 15:29:17 2022 +0200

    Merge pull request #3968 from wkloucek/add-more-config-desc

    add more configuration descriptions
2022-06-14 13:31:23 +00:00

4.9 KiB

Environment Variables

Name Type Default Value Description
OCIS_TRACING_ENABLED
STORAGE_USERS_TRACING_ENABLED
bool false Activates tracing.
OCIS_TRACING_TYPE
STORAGE_USERS_TRACING_TYPE
string The type of tracing. Defaults to "", which is the same as "jaeger". Allowed tracing types are "jaeger" and "" as of now.
OCIS_TRACING_ENDPOINT
STORAGE_USERS_TRACING_ENDPOINT
string The endpoint of the tracing agent.
OCIS_TRACING_COLLECTOR
STORAGE_USERS_TRACING_COLLECTOR
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.
OCIS_LOG_LEVEL
STORAGE_USERS_LOG_LEVEL
string The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace".
OCIS_LOG_PRETTY
STORAGE_USERS_LOG_PRETTY
bool false Activates pretty log output.
OCIS_LOG_COLOR
STORAGE_USERS_LOG_COLOR
bool false Activates colorized log output.
OCIS_LOG_FILE
STORAGE_USERS_LOG_FILE
string The path to the log file. Activates logging to this file if set.
STORAGE_USERS_DEBUG_ADDR string 127.0.0.1:9159 Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
STORAGE_USERS_DEBUG_TOKEN string Token to secure the metrics endpoint
STORAGE_USERS_DEBUG_PPROF bool false Enables pprof, which can be used for profiling
STORAGE_USERS_DEBUG_ZPAGES bool false Enables zpages, which can be used for collecting and viewing in-memory traces.
STORAGE_USERS_GRPC_ADDR string 127.0.0.1:9157 The address of the grpc service.
STORAGE_USERS_GRPC_PROTOCOL string tcp The transport protocol of the grpc service.
STORAGE_USERS_HTTP_ADDR string 127.0.0.1:9158 The address of the http service.
STORAGE_USERS_HTTP_PROTOCOL string tcp The transport protocol of the http service.
OCIS_JWT_SECRET
STORAGE_USERS_JWT_SECRET
string The secret to mint and validate jwt tokens.
REVA_GATEWAY string 127.0.0.1:9142 The CS3 gateway endpoint.
STORAGE_USERS_SKIP_USER_GROUPS_IN_TOKEN bool false
STORAGE_USERS_DRIVER string ocis The storage driver which should be used by the service
STORAGE_USERS_OCIS_ROOT string ~/.ocis/storage/users
STORAGE_USERS_OCIS_USER_LAYOUT string {{.Id.OpaqueId}}
STORAGE_USERS_PERMISSION_ENDPOINT,STORAGE_USERS_OCIS_PERMISSIONS_ENDPOINT string 127.0.0.1:9191
STORAGE_USERS_OCIS_PERSONAL_SPACE_ALIAS_TEMPLATE string {{.SpaceType}}/{{.User.Username | lower}}
STORAGE_USERS_OCIS_GENERAL_SPACE_ALIAS_TEMPLATE string {{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}
STORAGE_USERS_OCIS_SHARE_FOLDER string /Shares
STORAGE_USERS_S3NG_ROOT string ~/.ocis/storage/users
STORAGE_USERS_S3NG_USER_LAYOUT string {{.Id.OpaqueId}}
STORAGE_USERS_PERMISSION_ENDPOINT
STORAGE_USERS_S3NG_PERMISSIONS_ENDPOINT
string 127.0.0.1:9191
STORAGE_USERS_S3NG_REGION string default
STORAGE_USERS_S3NG_ACCESS_KEY string
STORAGE_USERS_S3NG_SECRET_KEY string
STORAGE_USERS_S3NG_ENDPOINT string
STORAGE_USERS_S3NG_BUCKET string
STORAGE_USERS_S3NG_PERSONAL_SPACE_ALIAS_TEMPLATE string {{.SpaceType}}/{{.User.Username | lower}}
STORAGE_USERS_S3NG_GENERAL_SPACE_ALIAS_TEMPLATE string {{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}
STORAGE_USERS_S3NG_SHARE_FOLDER string /Shares
STORAGE_USERS_OWNCLOUDSQL_DATADIR string ~/.ocis/storage/owncloud
STORAGE_USERS_OWNCLOUDSQL_SHARE_FOLDER string /Shares
STORAGE_USERS_OWNCLOUDSQL_LAYOUT string {{.Username}} path layout to use to navigate into a users folder in an owncloud data dir
STORAGE_USERS_OWNCLOUDSQL_UPLOADINFO_DIR string ~/.ocis/storage/uploadinfo
STORAGE_USERS_OWNCLOUDSQL_DB_USERNAME string owncloud
STORAGE_USERS_OWNCLOUDSQL_DB_PASSWORD string owncloud
STORAGE_USERS_OWNCLOUDSQL_DB_HOST string
STORAGE_USERS_OWNCLOUDSQL_DB_PORT int 3306
STORAGE_USERS_OWNCLOUDSQL_DB_NAME string owncloud
STORAGE_USERS_OWNCLOUDSQL_USERS_PROVIDER_ENDPOINT string localhost:9144
STORAGE_USERS_DATA_SERVER_URL string http://localhost:9158/data
STORAGE_USERS_TEMP_FOLDER string ~/.ocis/tmp/users
OCIS_INSECURE
STORAGE_USERS_DATAPROVIDER_INSECURE
bool false
STORAGE_USERS_EVENTS_ENDPOINT string 127.0.0.1:9233 the address of the streaming service
STORAGE_USERS_EVENTS_CLUSTER string ocis-cluster the clusterID of the streaming service. Mandatory when using nats
STORAGE_USERS_MOUNT_ID string 1284d238-aa92-42ce-bdc4-0b0000009157
STORAGE_USERS_EXPOSE_DATA_SERVER bool false
STORAGE_USERS_READ_ONLY bool false