Merge: c3f8d837 a08130f7
Author: Jörn Friedrich Dreyer <jfd@owncloud.com>
Date:   Thu Mar 31 14:24:04 2022 +0200

    Merge pull request #3412 from owncloud/fix-yaml-config

    use yaml tag instead of ocisConfig
This commit is contained in:
Jörn Friedrich Dreyer committed 2022-03-31 12:26:58 +00:00
1 parent c5eed2d24b
commit e117ba4214
25 files changed
+598 -643

No files matched your search

@@ -17,28 +17,28 @@ debug:
http:
addr: 127.0.0.1:9181
root: /
cachettl: 604800
cache_ttl: 604800
cors:
allowedorigins:
allowed_origins:
- '*'
allowedmethods:
allowed_methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
allowedheaders:
allowed_headers:
- Authorization
- Origin
- Content-Type
- Accept
- X-Requested-With
allowcredentials: true
allowed_credentials: true
grpc:
addr: 127.0.0.1:9180
tokenmanager:
jwtsecret: Pive-Fumkiu4
token_manager:
jwt_secret: Pive-Fumkiu4
asset:
path: ""
repo:
@@ -46,7 +46,7 @@ repo:
disk:
path: ~/.ocis/accounts
cs3:
provideraddr: localhost:9215
provider_addr: localhost:9215
index:
uid:
lower: 0
@@ -54,10 +54,10 @@ index:
gid:
lower: 0
upper: 1000
serviceuser:
service_user:
uuid: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
username: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
uid: 0
gid: 0
hashdifficulty: 11
demousersandgroups: true
hash_difficulty: 11
demo_users_and_groups: true
@@ -10,11 +10,11 @@ debug:
pprof: false
zpages: false
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
consumergroup: audit
events_endpoint: 127.0.0.1:9233
events_cluster: ocis-cluster
events_group: audit
auditlog:
logtoconsole: true
logtofile: false
log_to_console: true
log_to_file: false
filepath: ""
format: json
+11 -11
View File
@@ -24,20 +24,20 @@ ldaps:
key: ~/.ocis/ldap/ldap.key
backend:
datastore: accounts
basedn: dc=ocis,dc=test
base_dn: dc=ocis,dc=test
insecure: false
nameformat: cn
groupformat: ou
name_format: cn
group_format: ou
servers: []
sshkeyattr: sshPublicKey
usegraphapi: true
ssh_key_attr: sshPublicKey
use_graph_api: true
fallback:
datastore: ""
basedn: dc=ocis,dc=test
base_dn: dc=ocis,dc=test
insecure: false
nameformat: cn
groupformat: ou
name_format: cn
group_format: ou
servers: []
sshkeyattr: sshPublicKey
usegraphapi: true
rolebundleuuid: 71881883-1768-46bd-a24d-a356a2afdf7f
ssh_key_attr: sshPublicKey
use_graph_api: true
role_bundle_uuid: 71881883-1768-46bd-a24d-a356a2afdf7f
+22 -22
View File
@@ -19,32 +19,32 @@ http:
root: /graph
reva:
address: 127.0.0.1:9142
tokenmanager:
jwtsecret: Pive-Fumkiu4
token_manager:
jwt_secret: Pive-Fumkiu4
spaces:
webdavbase: https://localhost:9200
webdavpath: /dav/spaces/
defaultquota: "1000000000"
webdav_base: https://localhost:9200
webdav_path: /dav/spaces/
default_quota: "1000000000"
insecure: false
extendedspacepropertiescachettl: 0
extended_space_properties_cache_ttl: 0
identity:
backend: cs3
ldap:
uri: ldap://localhost:9125
insecure: false
binddn: ""
bindpassword: ""
useserveruuid: false
writeenabled: false
userbasedn: ou=users,dc=ocis,dc=test
usersearchscope: sub
userfilter: (objectClass=inetOrgPerson)
useremailattribute: mail
userdisplaynameattribute: displayName
usernameattribute: uid
useridattribute: owncloudUUID
groupbasedn: ou=groups,dc=ocis,dc=test
groupsearchscope: sub
groupfilter: (objectclass=groupOfNames)
groupnameattribute: cn
groupidattribute: owncloudUUID
bind_dn: ""
bind_password: ""
use_server_uuid: false
write_enabled: false
user_base_dn: ou=users,dc=ocis,dc=test
user_search_scope: sub
user_filter: (objectClass=inetOrgPerson)
user_mail_attribute: mail
user_displayname_attribute: displayName
user_name_attribute: uid
user_id_attribute: owncloudUUID
group_base_dn: ou=groups,dc=ocis,dc=test
group_search_scope: sub
group_filter: (objectclass=groupOfNames)
group_name_attribute: cn
group_id_attribute: owncloudUUID
@@ -17,8 +17,8 @@ debug:
http:
addr: 127.0.0.1:9135
root: /graph-explorer
graphexplorer:
clientid: ocis-explorer.js
graph_explorer:
client_id: ocis-explorer.js
issuer: https://localhost:9200
graphurlbase: https://localhost:9200
graphurlpath: /graph
graph_url_base: https://localhost:9200
graph_url_path: /graph
+7 -7
View File
@@ -15,12 +15,12 @@ debug:
pprof: false
zpages: false
idm:
ldapsaddr: 127.0.0.1:9235
ldaps_addr: 127.0.0.1:9235
cert: ~/.ocis/idm/ldap.crt
key: ~/.ocis/idm/ldap.key
databasepath: ~/.ocis/idm/ocis.boltdb
createdemousers: true
serviceuserpasswords:
idmadmin: idm
reva: reva
idp: idp
database: ~/.ocis/idm/ocis.boltdb
create_demo_users: true
service_user_passwords:
admin_password: idm
reva_password: reva
idp_password: idp
+34 -34
View File
@@ -17,53 +17,53 @@ debug:
http:
addr: 127.0.0.1:9130
root: /
tlscert: ~/.ocis/idp/server.crt
tlskey: ~/.ocis/idp/server.key
tls_cert: ~/.ocis/idp/server.crt
tls_key: ~/.ocis/idp/server.key
tls: false
asset:
path: ""
asset: ""
idp:
iss: https://localhost:9200
identitymanager: ldap
uribasepath: ""
signinuri: ""
signedouturi: ""
authorizationendpointuri: ""
endsessionendpointuri: ""
identity_manager: ldap
uri_base_path: ""
sign_in_uri: ""
signed_out_uri: ""
authorization_endpoint_uri: ""
end_session_endpoint_uri: ""
insecure: false
trustedproxy: []
allowscope: []
allowclientguests: false
allowdynamicclientregistration: false
encryptionsecretfile: ""
trusted_proxy: []
allow_scope: []
allow_client_guests: false
allow_dynamic_client_registration: false
encrypt_secret_file: ""
listen: ""
identifierclientdisabled: true
identifierclientpath: ~/.ocis/idp
identifierregistrationconf: ~/.ocis/idp/identifier-registration.yaml
identifierscopesconf: ""
identifier_client_disabled: true
identifier_client_path: ~/.ocis/idp
identifier_registration_conf: ~/.ocis/idp/identifier-registration.yaml
identifier_scopes_conf: ""
identifierdefaultbannerlogo: ""
identifierdefaultsigninpagetext: ""
identifierdefaultusernamehinttext: ""
identifieruilocales: []
signingkid: ""
signingmethod: PS256
signingprivatekeyfiles: []
validationkeyspath: ""
signing_kid: ""
signing_method: PS256
signing_private_key_files: []
validation_keys_path: ""
cookiebackenduri: ""
cookienames: []
accesstokendurationseconds: 600
idtokendurationseconds: 3600
refreshtokendurationseconds: 94608000
dyamicclientsecretdurationseconds: 0
access_token_duration_seconds: 600
id_token_duration_seconds: 3600
refresh_token_duration_seconds: 94608000
dynamic_client_secret_duration_seconds: 0
ldap:
uri: ldap://localhost:9125
binddn: cn=idp,ou=sysusers,dc=ocis,dc=test
bindpassword: idp
basedn: ou=users,dc=ocis,dc=test
bind_dn: cn=idp,ou=sysusers,dc=ocis,dc=test
bind_password: idp
base_dn: ou=users,dc=ocis,dc=test
scope: sub
loginattribute: cn
emailattribute: mail
nameattribute: sn
uuidattribute: uid
uuidattributetype: text
login_attribute: cn
email_attribute: mail
name_attribute: sn
uuid_attribute: uid
uuid_attribute_type: text
filter: (objectClass=posixaccount)
@@ -13,4 +13,4 @@ nats:
host: 127.0.0.1
port: 9233
clusterid: ocis-cluster
storedir: ~/.ocis/nats
store_dir: ~/.ocis/nats
@@ -10,14 +10,14 @@ debug:
pprof: false
zpages: false
notifications:
smtp:
host: 127.0.0.1
port: "1025"
sender: god@example.com
password: godisdead
SMTP:
smtp_host: 127.0.0.1
smtp_port: "1025"
smtp_sender: god@example.com
smtp_password: godisdead
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
consumergroup: notifications
revagateway: 127.0.0.1:9142
machineauthsecret: change-me-please
events_endpoint: 127.0.0.1:9233
events_cluster: ocis-cluster
events_group: notifications
reva_gateway: 127.0.0.1:9142
machine_auth_api_key: change-me-please
+10 -10
View File
@@ -18,28 +18,28 @@ http:
addr: 127.0.0.1:9110
root: /ocs
cors:
allowedorigins:
allowed_origins:
- '*'
allowedmethods:
allowed_methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
allowedheaders:
allowed_headers:
- Authorization
- Origin
- Content-Type
- Accept
- X-Requested-With
allowcredentials: true
tokenmanager:
jwtsecret: Pive-Fumkiu4
allowed_credentials: true
token_manager:
jwt_secret: Pive-Fumkiu4
reva:
address: 127.0.0.1:9142
identitymanagement:
identity_management:
address: https://localhost:9200
accountbackend: accounts
storageusersdriver: ocis
machineauthapikey: change-me-please
account_backend: accounts
storage_users_driver: ocis
machine_auth_api_key: change-me-please
+43 -88
View File
@@ -17,8 +17,8 @@ debug:
http:
addr: 0.0.0.0:9200
root: /
tlscert: ~/.ocis/proxy/server.crt
tlskey: ~/.ocis/proxy/server.key
tls_cert: ~/.ocis/proxy/server.crt
tls_key: ~/.ocis/proxy/server.key
tls: true
reva:
address: 127.0.0.1:9142
@@ -28,156 +28,111 @@ policies:
- type: ""
endpoint: /
backend: http://localhost:9100
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /.well-known/
backend: http://localhost:9130
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /konnect/
backend: http://localhost:9130
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /signin/
backend: http://localhost:9130
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /archiver
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: regex
endpoint: /ocs/v[12].php/cloud/(users?|groups)
backend: http://localhost:9110
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /ocs/
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: query
endpoint: /remote.php/?preview=1
backend: http://localhost:9115
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /remote.php/
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /dav/
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /webdav/
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /status.php
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /index.php/
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /data
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /app/
backend: http://localhost:9140
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /graph/
backend: http://localhost:9120
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /graph-explorer
backend: http://localhost:9135
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /api/v0/accounts
backend: http://localhost:9181
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /accounts.js
backend: http://localhost:9181
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /api/v0/settings
backend: http://localhost:9190
apachevhost: false
apache-vhost: false
- type: ""
endpoint: /settings.js
backend: http://localhost:9190
apachevhost: false
- name: oc10
routes:
- type: ""
endpoint: /
backend: http://localhost:9100
apachevhost: false
- type: ""
endpoint: /.well-known/
backend: http://localhost:9130
apachevhost: false
- type: ""
endpoint: /konnect/
backend: http://localhost:9130
apachevhost: false
- type: ""
endpoint: /signin/
backend: http://localhost:9130
apachevhost: false
- type: ""
endpoint: /archiver
backend: http://localhost:9140
apachevhost: false
- type: ""
endpoint: /ocs/
backend: https://demo.owncloud.com
apachevhost: true
- type: ""
endpoint: /remote.php/
backend: https://demo.owncloud.com
apachevhost: true
- type: ""
endpoint: /dav/
backend: https://demo.owncloud.com
apachevhost: true
- type: ""
endpoint: /webdav/
backend: https://demo.owncloud.com
apachevhost: true
- type: ""
endpoint: /status.php
backend: https://demo.owncloud.com
apachevhost: true
- type: ""
endpoint: /index.php/
backend: https://demo.owncloud.com
apachevhost: true
- type: ""
endpoint: /data
backend: https://demo.owncloud.com
apachevhost: true
apache-vhost: false
oidc:
issuer: https://localhost:9200
insecure: true
userinfocache:
user_info_cache:
size: 1024
ttl: 10
tokenmanager:
jwtsecret: Pive-Fumkiu4
policyselector: null
presignedurl:
allowedhttpmethods:
token_manager:
jwt_secret: Pive-Fumkiu4
policy_selector:
static:
policy: ocis
migration: null
claims: null
regex: null
pre_signed_url:
allowed_http_methods:
- GET
enabled: true
accountbackend: accounts
useroidcclaim: email
usercs3claim: mail
machineauthapikey: change-me-please
autoprovisionaccounts: false
enablebasicauth: false
insecurebackends: false
authmiddleware:
credentialsbyuseragent: {}
account_backend: accounts
user_oidc_claim: email
user_cs3_claim: mail
machine_auth_api_key: change-me-please
auto_provision_accounts: false
enable_basic_auth: false
insecure_backends: false
auth_middleware:
credentials_by_user_agent: {}
@@ -17,35 +17,35 @@ debug:
http:
addr: 127.0.0.1:9190
root: /
cachettl: 604800
cache_ttl: 604800
cors:
allowedorigins:
allowed_origins:
- '*'
allowedmethods:
allowed_methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
allowedheaders:
allowed_headers:
- Authorization
- Origin
- Content-Type
- Accept
- X-Requested-With
allowcredentials: true
allowed_credentials: true
grpc:
addr: 127.0.0.1:9191
storetype: metadata
datapath: ~/.ocis/settings
metadata:
gatewayaddress: 127.0.0.1:9142
storageaddress: 127.0.0.1:9215
serviceuserid: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
serviceuseridp: https://localhost:9200
machineauthapikey: change-me-please
store_type: metadata
data_path: ~/.ocis/settings
metadata_config:
gateway_addr: 127.0.0.1:9142
storage_addr: 127.0.0.1:9215
service_user_id: 95cb8724-03b2-11eb-a0a6-c33ef8ef53ad
service_user_idp: https://localhost:9200
machine_auth_api_key: change-me-please
asset:
path: ""
tokenmanager:
jwtsecret: Pive-Fumkiu4
token_manager:
jwt_secret: Pive-Fumkiu4
File diff suppressed because it is too large. Load diff
@@ -16,4 +16,4 @@ debug:
zpages: false
grpc:
addr: 127.0.0.1:9460
datapath: ~/.ocis/store
data_path: ~/.ocis/store
@@ -28,11 +28,11 @@ thumbnail:
- 1920x1080
- 3840x2160
- 7680x4320
filesystemstorage:
rootdirectory: ~/.ocis/thumbnails
webdavallowinsecure: false
cs3allowinsecure: false
revagateway: 127.0.0.1:9142
fontmapfile: ""
transfertokensecret: changemeplease
dataendpoint: http://127.0.0.1:9186/thumbnails/data
filesystem_storage:
root_directory: ~/.ocis/thumbnails
webdav_allow_insecure: false
cs3_allow_insecure: false
reva_gateway: 127.0.0.1:9142
font_map_file: ""
transfer_token: changemeplease
data_endpoint: http://127.0.0.1:9186/thumbnails/data
+8 -8
View File
@@ -17,23 +17,23 @@ debug:
http:
addr: 127.0.0.1:9100
root: /
cachettl: 604800
cache_ttl: 604800
asset:
path: ""
file: ""
web:
path: ""
themeserver: https://localhost:9200
themepath: /themes/owncloud/theme.json
theme_server: https://localhost:9200
theme_path: /themes/owncloud/theme.json
config:
server: https://localhost:9200
theme: ""
version: 0.1.0
openidconnect:
metadataurl: https://localhost:9200/.well-known/openid-configuration
oids:
metadata_url: https://localhost:9200/.well-known/openid-configuration
authority: https://localhost:9200
clientid: web
responsetype: code
client_id: web
response_type: code
scope: openid profile email
apps:
- files
@@ -41,5 +41,5 @@ web:
- media-viewer
- pdf-viewer
- external
externalapps: []
external_apps: []
options: {}
@@ -18,22 +18,22 @@ http:
addr: 127.0.0.1:9115
root: /
cors:
allowedorigins:
allowed_origins:
- '*'
allowedmethods:
allowed_methods:
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
allowedheaders:
allowed_headers:
- Authorization
- Origin
- Content-Type
- Accept
- X-Requested-With
allowcredentials: true
ocispublicurl: https://127.0.0.1:9200
webdavnamespace: /users/{{.Id.OpaqueId}}
revagateway: 127.0.0.1:9142
allow_credentials: true
ocis_public_url: https://127.0.0.1:9200
webdav_namespace: /users/{{.Id.OpaqueId}}
reva_gateway: 127.0.0.1:9142
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.accounts.v0"
url: /grpc_apis/ocis_messages_accounts_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /grpc_apis/ocis_messages_thumbnails_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.accounts.v0"
url: /grpc_apis/ocis_services_accounts_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /grpc_apis/ocis_services_thumbnails_v0
date: 2022-03-31T00:41:04Z
date: 2022-03-31T12:26:10Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---