2022-04-26 13:29:40 +00:00
|
|
|
# Autogenerated
|
2022-05-04 12:44:10 +00:00
|
|
|
# Filename: storage-users-config-example.yaml
|
|
|
|
|
|
2022-04-26 13:29:40 +00:00
|
|
|
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
|
2023-03-07 13:45:26 +00:00
|
|
|
tls: null
|
2022-04-26 13:29:40 +00:00
|
|
|
protocol: tcp
|
|
|
|
|
http:
|
|
|
|
|
addr: 127.0.0.1:9158
|
|
|
|
|
protocol: tcp
|
|
|
|
|
prefix: data
|
2024-02-21 09:23:53 +00:00
|
|
|
cors:
|
|
|
|
|
allow_origins:
|
2024-03-20 13:46:44 +00:00
|
|
|
- https://localhost:9200
|
2024-02-21 09:23:53 +00:00
|
|
|
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
|
2024-03-20 13:46:44 +00:00
|
|
|
allow_credentials: false
|
2024-02-21 09:23:53 +00:00
|
|
|
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
|
2022-05-02 07:33:47 +00:00
|
|
|
token_manager:
|
|
|
|
|
jwt_secret: ""
|
|
|
|
|
reva:
|
2023-06-08 10:43:53 +00:00
|
|
|
address: com.owncloud.api.gateway
|
2022-11-03 09:20:09 +00:00
|
|
|
tls:
|
|
|
|
|
mode: ""
|
2022-11-15 13:51:44 +00:00
|
|
|
cacert: ""
|
2022-05-02 07:33:47 +00:00
|
|
|
skip_user_groups_in_token: false
|
2023-07-19 14:21:44 +00:00
|
|
|
graceful_shutdown_timeout: 30
|
2022-04-26 13:29:40 +00:00
|
|
|
driver: ocis
|
|
|
|
|
drivers:
|
|
|
|
|
ocis:
|
2023-05-12 12:40:29 +00:00
|
|
|
metadata_backend: messagepack
|
2023-07-31 09:06:03 +00:00
|
|
|
propagator: sync
|
|
|
|
|
async_propagator_options:
|
|
|
|
|
propagation_delay: 0s
|
2024-01-17 12:57:05 +00:00
|
|
|
root: /var/lib/ocis/storage/users
|
2022-05-03 19:55:03 +00:00
|
|
|
user_layout: '{{.Id.OpaqueId}}'
|
2023-06-08 10:43:53 +00:00
|
|
|
permissions_endpoint: com.owncloud.api.settings
|
2022-04-26 13:29:40 +00:00
|
|
|
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
|
2024-05-29 13:41:42 +00:00
|
|
|
personalspacepath_template: ""
|
2022-04-26 13:29:40 +00:00
|
|
|
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
|
2024-05-29 13:41:42 +00:00
|
|
|
generalspacepath_template: ""
|
2022-04-26 13:29:40 +00:00
|
|
|
share_folder: /Shares
|
2022-11-25 13:49:42 +00:00
|
|
|
max_acquire_lock_cycles: 20
|
|
|
|
|
lock_cycle_duration_factor: 30
|
2024-01-29 15:27:31 +00:00
|
|
|
max_concurrency: 5
|
2023-10-06 08:27:52 +00:00
|
|
|
async_uploads: true
|
2023-02-22 16:09:35 +00:00
|
|
|
max_quota: 0
|
2024-06-27 15:28:58 +00:00
|
|
|
disable_versioning: false
|
2022-04-26 13:29:40 +00:00
|
|
|
s3ng:
|
2023-05-03 16:32:38 +00:00
|
|
|
metadata_backend: messagepack
|
2023-07-31 09:06:03 +00:00
|
|
|
propagator: sync
|
|
|
|
|
async_propagator_options:
|
|
|
|
|
propagation_delay: 0s
|
2024-01-17 12:57:05 +00:00
|
|
|
root: /var/lib/ocis/storage/users
|
2022-05-03 19:55:03 +00:00
|
|
|
user_layout: '{{.Id.OpaqueId}}'
|
2023-06-08 10:43:53 +00:00
|
|
|
permissions_endpoint: com.owncloud.api.settings
|
2022-04-26 13:29:40 +00:00
|
|
|
region: default
|
|
|
|
|
access_key: ""
|
|
|
|
|
secret_key: ""
|
|
|
|
|
endpoint: ""
|
|
|
|
|
bucket: ""
|
2024-02-21 09:23:53 +00:00
|
|
|
put_object_disable_content_sha254: false
|
2024-03-15 16:57:48 +00:00
|
|
|
put_object_disable_multipart: true
|
2024-02-21 09:23:53 +00:00
|
|
|
put_object_send_content_md5: true
|
|
|
|
|
put_object_concurrent_stream_parts: true
|
|
|
|
|
put_object_num_threads: 4
|
|
|
|
|
put_object_part_size: 0
|
2022-04-26 13:29:40 +00:00
|
|
|
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
|
2024-05-29 13:41:42 +00:00
|
|
|
personalspacepath_template: ""
|
2022-04-26 13:29:40 +00:00
|
|
|
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
|
2024-05-29 13:41:42 +00:00
|
|
|
generalspacepath_template: ""
|
2022-04-26 13:29:40 +00:00
|
|
|
share_folder: /Shares
|
2022-11-25 13:49:42 +00:00
|
|
|
max_acquire_lock_cycles: 20
|
|
|
|
|
lock_cycle_duration_factor: 30
|
2024-01-29 15:27:31 +00:00
|
|
|
max_concurrency: 5
|
2024-06-27 15:28:58 +00:00
|
|
|
disable_versioning: false
|
2022-04-26 13:29:40 +00:00
|
|
|
owncloudsql:
|
2024-01-17 12:57:05 +00:00
|
|
|
root: /var/lib/ocis/storage/owncloud
|
2022-04-26 13:29:40 +00:00
|
|
|
share_folder: /Shares
|
2022-05-06 09:25:34 +00:00
|
|
|
user_layout: '{{.Username}}'
|
2024-01-17 12:57:05 +00:00
|
|
|
upload_info_dir: /var/lib/ocis/storage/uploadinfo
|
2022-04-26 13:29:40 +00:00
|
|
|
db_username: owncloud
|
|
|
|
|
db_password: owncloud
|
|
|
|
|
db_host: ""
|
|
|
|
|
db_port: 3306
|
|
|
|
|
db_name: owncloud
|
2023-06-08 10:43:53 +00:00
|
|
|
users_provider_endpoint: com.owncloud.api.users
|
2024-05-29 13:41:42 +00:00
|
|
|
posix:
|
|
|
|
|
root: ""
|
|
|
|
|
personalspacepath_template: users/{{.User.Username}}
|
|
|
|
|
generalspacepath_template: projects/{{.SpaceId}}
|
|
|
|
|
permissions_endpoint: com.owncloud.api.settings
|
2024-07-08 06:38:39 +00:00
|
|
|
async_uploads: true
|
2024-05-29 13:41:42 +00:00
|
|
|
use_space_groups: false
|
|
|
|
|
watch_type: ""
|
|
|
|
|
watch_path: ""
|
|
|
|
|
watch_folder_kafka_hosts: ""
|
2022-05-02 07:33:47 +00:00
|
|
|
data_server_url: http://localhost:9158/data
|
2022-12-16 11:01:14 +00:00
|
|
|
data_gateway_url: https://localhost:9200/data
|
|
|
|
|
transfer_expires: 86400
|
2022-04-26 13:29:40 +00:00
|
|
|
events:
|
2022-05-03 19:55:03 +00:00
|
|
|
endpoint: 127.0.0.1:9233
|
|
|
|
|
cluster: ocis-cluster
|
2022-10-21 11:39:09 +00:00
|
|
|
tls_insecure: false
|
2022-10-12 13:02:31 +00:00
|
|
|
tls_root_ca_cert_path: ""
|
2022-10-21 11:39:09 +00:00
|
|
|
enable_tls: false
|
2022-12-16 11:01:14 +00:00
|
|
|
num_consumers: 0
|
2023-12-19 10:29:07 +00:00
|
|
|
username: ""
|
|
|
|
|
password: ""
|
2023-04-24 15:08:13 +00:00
|
|
|
filemetadata_cache:
|
|
|
|
|
store: memory
|
2023-12-14 10:53:37 +00:00
|
|
|
nodes:
|
|
|
|
|
- 127.0.0.1:9233
|
|
|
|
|
database: storage-users
|
2023-04-27 10:37:07 +00:00
|
|
|
ttl: 24m0s
|
2023-04-24 15:08:13 +00:00
|
|
|
size: 0
|
2023-12-15 13:33:55 +00:00
|
|
|
disable_persistence: false
|
2024-01-24 10:20:58 +00:00
|
|
|
username: ""
|
|
|
|
|
password: ""
|
2023-05-22 13:47:32 +00:00
|
|
|
id_cache:
|
2023-12-14 10:53:37 +00:00
|
|
|
store: memory
|
|
|
|
|
nodes:
|
|
|
|
|
- 127.0.0.1:9233
|
|
|
|
|
database: ids-storage-users
|
|
|
|
|
ttl: 24m0s
|
2023-05-22 13:47:32 +00:00
|
|
|
size: 0
|
2023-12-15 13:33:55 +00:00
|
|
|
disable_persistence: false
|
2024-01-24 10:20:58 +00:00
|
|
|
username: ""
|
|
|
|
|
password: ""
|
2022-11-25 12:49:37 +00:00
|
|
|
mount_id: ""
|
2022-05-02 07:33:47 +00:00
|
|
|
expose_data_server: false
|
2022-04-26 13:29:40 +00:00
|
|
|
readonly: false
|
2022-08-09 10:12:01 +00:00
|
|
|
upload_expiration: 86400
|
2023-02-10 11:06:21 +00:00
|
|
|
tasks:
|
|
|
|
|
purge_trash_bin:
|
|
|
|
|
user_id: ""
|
|
|
|
|
personal_delete_before: 720h0m0s
|
|
|
|
|
project_delete_before: 720h0m0s
|
2023-08-31 11:18:55 +00:00
|
|
|
service_account:
|
|
|
|
|
service_account_id: ""
|
|
|
|
|
service_account_secret: ""
|
2023-12-19 14:49:20 +00:00
|
|
|
gateway_addr: 127.0.0.1:9142
|
|
|
|
|
machine_auth_api_key: ""
|
|
|
|
|
max_attempts_rename_file: 0
|