Files
ocis/services/_includes/storage-users-config-example.yaml
T
2024-03-20 13:46:44 +00:00

177 lines
4.0 KiB
YAML

# Autogenerated
# Filename: storage-users-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9159
token: ""
pprof: false
zpages: false
grpc:
addr: 127.0.0.1:9157
tls: null
protocol: tcp
http:
addr: 127.0.0.1:9158
protocol: tcp
prefix: data
cors:
allow_origins:
- https://localhost:9200
allow_methods:
- POST
- HEAD
- PATCH
- OPTIONS
- GET
- DELETE
allow_headers:
- Authorization
- Origin
- X-Requested-With
- X-Request-Id
- X-HTTP-Method-Override
- Content-Type
- Upload-Length
- Upload-Offset
- Tus-Resumable
- Upload-Metadata
- Upload-Defer-Length
- Upload-Concat
- Upload-Incomplete
- Upload-Draft-Interop-Version
allow_credentials: false
expose_headers:
- Upload-Offset
- Location
- Upload-Length
- Tus-Version
- Tus-Resumable
- Tus-Max-Size
- Tus-Extension
- Upload-Metadata
- Upload-Defer-Length
- Upload-Concat
- Upload-Incomplete
- Upload-Draft-Interop-Version
max_age: 86400
token_manager:
jwt_secret: ""
reva:
address: com.owncloud.api.gateway
tls:
mode: ""
cacert: ""
skip_user_groups_in_token: false
graceful_shutdown_timeout: 30
driver: ocis
drivers:
ocis:
metadata_backend: messagepack
propagator: sync
async_propagator_options:
propagation_delay: 0s
root: /var/lib/ocis/storage/users
user_layout: '{{.Id.OpaqueId}}'
permissions_endpoint: com.owncloud.api.settings
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
share_folder: /Shares
max_acquire_lock_cycles: 20
lock_cycle_duration_factor: 30
max_concurrency: 5
async_uploads: true
max_quota: 0
s3ng:
metadata_backend: messagepack
propagator: sync
async_propagator_options:
propagation_delay: 0s
root: /var/lib/ocis/storage/users
user_layout: '{{.Id.OpaqueId}}'
permissions_endpoint: com.owncloud.api.settings
region: default
access_key: ""
secret_key: ""
endpoint: ""
bucket: ""
put_object_disable_content_sha254: false
put_object_disable_multipart: true
put_object_send_content_md5: true
put_object_concurrent_stream_parts: true
put_object_num_threads: 4
put_object_part_size: 0
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
share_folder: /Shares
max_acquire_lock_cycles: 20
lock_cycle_duration_factor: 30
max_concurrency: 5
owncloudsql:
root: /var/lib/ocis/storage/owncloud
share_folder: /Shares
user_layout: '{{.Username}}'
upload_info_dir: /var/lib/ocis/storage/uploadinfo
db_username: owncloud
db_password: owncloud
db_host: ""
db_port: 3306
db_name: owncloud
users_provider_endpoint: com.owncloud.api.users
data_server_url: http://localhost:9158/data
data_gateway_url: https://localhost:9200/data
transfer_expires: 86400
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
tls_insecure: false
tls_root_ca_cert_path: ""
enable_tls: false
num_consumers: 0
username: ""
password: ""
filemetadata_cache:
store: memory
nodes:
- 127.0.0.1:9233
database: storage-users
ttl: 24m0s
size: 0
disable_persistence: false
username: ""
password: ""
id_cache:
store: memory
nodes:
- 127.0.0.1:9233
database: ids-storage-users
ttl: 24m0s
size: 0
disable_persistence: false
username: ""
password: ""
mount_id: ""
expose_data_server: false
readonly: false
upload_expiration: 86400
tasks:
purge_trash_bin:
user_id: ""
personal_delete_before: 720h0m0s
project_delete_before: 720h0m0s
service_account:
service_account_id: ""
service_account_secret: ""
gateway_addr: 127.0.0.1:9142
machine_auth_api_key: ""
max_attempts_rename_file: 0