drop store service in favor of a micro store implementation (#8419)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer committed 2024-02-26 15:11:30 +00:00
1 parent 83b365c0a4
commit 42e11ded53
89 files changed
+300 -115

No files matched your search

@@ -1,7 +1,7 @@
---
title: "ocis.messages.eventhistory.v0"
url: /apis/grpc_apis/ocis_messages_eventhistory_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.policies.v0"
url: /apis/grpc_apis/ocis_messages_policies_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /apis/grpc_apis/ocis_messages_search_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /apis/grpc_apis/ocis_messages_settings_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /apis/grpc_apis/ocis_messages_store_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /apis/grpc_apis/ocis_messages_thumbnails_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.eventhistory.v0"
url: /apis/grpc_apis/ocis_services_eventhistory_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.policies.v0"
url: /apis/grpc_apis/ocis_services_policies_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /apis/grpc_apis/ocis_services_search_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /apis/grpc_apis/ocis_services_settings_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /apis/grpc_apis/ocis_services_store_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /apis/grpc_apis/ocis_services_thumbnails_v0
date: 2024-02-26T13:22:34Z
date: 2024-02-26T15:09:36Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the antivirus service
[width="100%",cols="~,~,~,~",options="header"]
@@ -245,7 +245,7 @@ a| [subs=-attributes]
The socket clamav is running on. Note the default value is an example which needs adaption according your OS.
a|`ANTIVIRUS_ICAP_TIMEOUT` +
xref:deprecation-note-2024-02-26-13-22-56[Deprecation Note]
xref:deprecation-note-2024-02-26-15-09-52[Deprecation Note]
a| [subs=-attributes]
++int64 ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the app-provider service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the app-registry service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the audit service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the auth-basic service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the auth-bearer service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the auth-machine service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the auth-service service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the clientlog service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the eventhistory service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the frontend service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the gateway service
[width="100%",cols="~,~,~,~",options="header"]
+40 -29
View File
@@ -24,7 +24,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Flag to enable or disable the creation of the demo users.
The default role assignments the demo users should be setup.
a| `OCIS_ADMIN_USER_ID`
a| [subs=attributes+]
@@ -39,7 +39,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
ID of the user that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.
ID of the user who collects all necessary information for deletion. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.
a| `OCIS_ASYNC_UPLOADS`
a| [subs=attributes+]
@@ -61,6 +61,8 @@ a| [subs=attributes+]
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/graph.adoc[graph] +
* xref:{s-path}/ocs.adoc[ocs] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/settings.adoc[settings] +
* xref:{s-path}/storage-system.adoc[storage-system] +
@@ -74,7 +76,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The password to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured.
The password to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured.
a| `OCIS_CACHE_AUTH_USERNAME`
a| [subs=attributes+]
@@ -82,6 +84,8 @@ a| [subs=attributes+]
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/graph.adoc[graph] +
* xref:{s-path}/ocs.adoc[ocs] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/settings.adoc[settings] +
* xref:{s-path}/storage-system.adoc[storage-system] +
@@ -95,7 +99,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The username to authenticate with the cache. Only applies when store type 'nats-js-kv' is configured.
The username to authenticate with the cache store. Only applies when store type 'nats-js-kv' is configured.
a| `OCIS_CACHE_DATABASE`
a| [subs=attributes+]
@@ -112,7 +116,7 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++cache-stat ++
++storage-users ++
a| [subs=-attributes]
The database name the configured store should use.
@@ -124,6 +128,7 @@ a| [subs=attributes+]
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/graph.adoc[graph] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/settings.adoc[settings] +
* xref:{s-path}/storage-system.adoc[storage-system] +
* xref:{s-path}/storage-users.adoc[storage-users] +
@@ -157,7 +162,7 @@ a| [subs=-attributes]
++0 ++
a| [subs=-attributes]
The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitely set as default.
The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitely set as default.
a| `OCIS_CACHE_STORE`
a| [subs=attributes+]
@@ -165,6 +170,8 @@ a| [subs=attributes+]
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/graph.adoc[graph] +
* xref:{s-path}/ocs.adoc[ocs] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/settings.adoc[settings] +
* xref:{s-path}/storage-system.adoc[storage-system] +
@@ -186,6 +193,8 @@ a| [subs=attributes+]
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/graph.adoc[graph] +
* xref:{s-path}/ocs.adoc[ocs] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/settings.adoc[settings] +
* xref:{s-path}/storage-system.adoc[storage-system] +
@@ -207,6 +216,8 @@ a| [subs=attributes+]
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/gateway.adoc[gateway] +
* xref:{s-path}/graph.adoc[graph] +
* xref:{s-path}/ocs.adoc[ocs] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/proxy.adoc[proxy] +
* xref:{s-path}/settings.adoc[settings] +
* xref:{s-path}/storage-system.adoc[storage-system] +
@@ -217,10 +228,10 @@ a| [subs=-attributes]
++Duration ++
a| [subs=-attributes]
++336h0m0s ++
++24m0s ++
a| [subs=-attributes]
Time to live for cache records in the graph. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
Default time to live for user info in the user info cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
a| `OCIS_CORS_ALLOW_CREDENTIALS`
a| [subs=attributes+]
@@ -267,7 +278,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Ocs-Apirequest] ++
++[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] ++
a| [subs=-attributes]
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
@@ -292,7 +303,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[GET] ++
++[POST HEAD PATCH OPTIONS GET DELETE] ++
a| [subs=-attributes]
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
@@ -377,7 +388,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all.
Set this option to 'true' to disable rendering of thumbnails triggered via webdav access. Note that when disabled, all access to preview related webdav paths will return a 404.
a| `OCIS_EDITION`
a| [subs=attributes+]
@@ -562,7 +573,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The root CA certificate used to validate the server's TLS certificate. Will be seen as empty if NOTIFICATIONS_EVENTS_TLS_INSECURE is provided.
The root CA certificate used to validate the server's TLS certificate. If provided STORAGE_USERS_EVENTS_TLS_INSECURE will be seen as false.
a| `OCIS_GATEWAY_GRPC_ADDR`
a| [subs=attributes+]
@@ -881,7 +892,7 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++uid=idp,ou=sysusers,o=libregraph-idm ++
++uid=libregraph,ou=sysusers,o=libregraph-idm ++
a| [subs=-attributes]
LDAP DN to use for simple bind authentication with the target LDAP server.
@@ -918,7 +929,7 @@ a| [subs=-attributes]
++/var/lib/ocis/idm/ldap.crt ++
a| [subs=-attributes]
Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/idp.
Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the LDAP service. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/idm.
a| `OCIS_LDAP_DISABLED_USERS_GROUP_DN`
a| [subs=attributes+]
@@ -1154,7 +1165,7 @@ a| [subs=-attributes]
++ldaps://localhost:9235 ++
a| [subs=-attributes]
Url of the LDAP service to use as IDP.
URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://' and 'ldap://'
a| `OCIS_LDAP_USER_BASE_DN`
a| [subs=attributes+]
@@ -1221,7 +1232,7 @@ a| [subs=-attributes]
++inetOrgPerson ++
a| [subs=-attributes]
LDAP User ObjectClass like 'inetOrgPerson'.
The object class to use for users in the default user search filter ('inetOrgPerson').
a| `OCIS_LDAP_USER_SCHEMA_DISPLAYNAME`
a| [subs=attributes+]
@@ -1250,10 +1261,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ownCloudUUID ++
++owncloudUUID ++
a| [subs=-attributes]
LDAP User UUID attribute like 'uid'.
LDAP Attribute to use as the unique ID for users. This should be a stable globally unique ID like a UUID.
a| `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`
a| [subs=attributes+]
@@ -1286,7 +1297,7 @@ a| [subs=-attributes]
++mail ++
a| [subs=-attributes]
LDAP User email attribute like 'mail'.
LDAP Attribute to use for the email address of users.
a| `OCIS_LDAP_USER_SCHEMA_USERNAME`
a| [subs=attributes+]
@@ -1300,10 +1311,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++displayName ++
++uid ++
a| [subs=-attributes]
LDAP User name attribute like 'displayName'.
LDAP Attribute to use for username of users.
a| `OCIS_LDAP_USER_SCHEMA_USER_TYPE`
a| [subs=attributes+]
@@ -1580,7 +1591,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++
a| [subs=-attributes]
The OIDC issuer URL to use.
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.
a| `OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST`
a| [subs=attributes+]
@@ -1753,7 +1764,7 @@ a| [subs=-attributes]
++0 ++
a| [subs=-attributes]
The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived and used from the ocmem package though no explicit default was set.
The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitely set as default.
a| `OCIS_PERSISTENT_STORE_TTL`
a| [subs=attributes+]
@@ -1765,10 +1776,10 @@ a| [subs=-attributes]
++Duration ++
a| [subs=-attributes]
++336h0m0s ++
++0s ++
a| [subs=-attributes]
Time to live for events in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
Time to live for events in the store. See the Environment Variable Types description for more details.
a| `OCIS_REVA_GATEWAY`
a| [subs=attributes+]
@@ -1893,7 +1904,7 @@ a| [subs=-attributes]
++0 ++
a| [subs=-attributes]
Set the global max quota value in bytes. A value of 0 equals unlimited. The value is provided via capabilities.
Set a global max quota for spaces in bytes. A value of 0 equals unlimited. If not using the global OCIS_SPACES_MAX_QUOTA, you must define the FRONTEND_MAX_QUOTA in the frontend service.
a| `OCIS_SYSTEM_USER_API_KEY`
a| [subs=attributes+]
@@ -2168,7 +2179,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
Transfer secret for signing file up- and download requests.
The storage transfer secret.
a| `OCIS_TRANSLATION_PATH`
a| [subs=attributes+]
@@ -2209,10 +2220,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++https://localhost:9200 ++
++https://127.0.0.1:9200 ++
a| [subs=-attributes]
The OIDC issuer URL to use.
URL, where oCIS is reachable for users.
a| `STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY`
a| [subs=attributes+]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the graph service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the groups service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the idm service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the idp service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the invitations service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the nats service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the notifications service
[width="100%",cols="~,~,~,~",options="header"]
@@ -221,7 +221,7 @@ a| [subs=-attributes]
Authentication method for the SMTP communication. Possible values are 'login', 'plain', 'crammd5', 'none' or 'auto'. If set to 'auto' or unset, the authentication method is automatically negotiated with the server.
a|`NOTIFICATIONS_SMTP_ENCRYPTION` +
xref:deprecation-note-2024-02-26-13-22-55[Deprecation Note]
xref:deprecation-note-2024-02-26-15-09-52[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the ocdav service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the ocm service
[width="100%",cols="~,~,~,~",options="header"]
+51 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the ocs service
[width="100%",cols="~,~,~,~",options="header"]
@@ -227,6 +227,56 @@ a| [subs=-attributes]
a| [subs=-attributes]
Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.
a|`OCIS_CACHE_STORE` +
`OCS_PRESIGNEDURL_SIGNING_KEYS_STORE` +
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++nats-js-kv ++
a| [subs=-attributes]
The type of the signing key store. Supported values are: 'redis-sentinel' and 'nats-js-kv'. See the text description for details.
a|`OCIS_CACHE_STORE_NODES` +
`OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` +
a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[127.0.0.1:9233] ++
a| [subs=-attributes]
A list of nodes to access the configured store. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
a|`OCIS_CACHE_TTL` +
`OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL` +
a| [subs=-attributes]
++Duration ++
a| [subs=-attributes]
++12h0m0s ++
a| [subs=-attributes]
Default time to live for signing keys. See the Environment Variable Types description for more details.
a|`OCIS_CACHE_AUTH_USERNAME` +
`OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME` +
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
a|`OCIS_CACHE_AUTH_PASSWORD` +
`OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD` +
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
a|`OCIS_JWT_SECRET` +
`OCS_JWT_SECRET` +
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the policies service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the postprocessing service
[width="100%",cols="~,~,~,~",options="header"]
+61 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the proxy service
[width="100%",cols="~,~,~,~",options="header"]
@@ -433,6 +433,66 @@ a| [subs=-attributes]
a| [subs=-attributes]
Allow OCS to get a signing key to sign requests.
a|`OCIS_CACHE_STORE` +
`PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE` +
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++nats-js-kv ++
a| [subs=-attributes]
The type of the signing key store. Supported values are: 'redis-sentinel', 'nats-js-kv' and 'ocisstoreservice' (deprecated). See the text description for details.
a|`OCIS_CACHE_STORE_NODES` +
`PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` +
a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[127.0.0.1:9233] ++
a| [subs=-attributes]
A list of nodes to access the configured store. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
a|`OCIS_CACHE_TTL` +
`PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL` +
a| [subs=-attributes]
++Duration ++
a| [subs=-attributes]
++12h0m0s ++
a| [subs=-attributes]
Default time to live for signing keys. See the Environment Variable Types description for more details.
a|`OCIS_CACHE_DISABLE_PERSISTENCE` +
`PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_DISABLE_PERSISTENCE` +
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
++true ++
a| [subs=-attributes]
Disables persistence of the store. Only applies when store type 'nats-js-kv' is configured. Defaults to true.
a|`OCIS_CACHE_AUTH_USERNAME` +
`PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME` +
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
a|`OCIS_CACHE_AUTH_PASSWORD` +
`PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD` +
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
a|`PROXY_ACCOUNT_BACKEND_TYPE` +
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the search service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the settings service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the sharing service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the sse service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the storage-publiclink service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the storage-shares service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the storage-system service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the storage-users service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the store service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the thumbnails service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the userlog service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the users service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the web service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-56]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the webdav service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2024-02-26-13-22-55]
[#deprecation-note-2024-02-26-15-09-52]
[caption=]
.Deprecation notes for the webfinger service
[width="100%",cols="~,~,~,~",options="header"]
@@ -43,5 +43,12 @@ http:
cert: ""
key: ""
grpc_client_tls: null
signing_keys:
store: nats-js-kv
addresses:
- 127.0.0.1:9233
ttl: 12h0m0s
username: ""
password: ""
token_manager:
jwt_secret: ""
+5
View File
@@ -23,4 +23,9 @@
| OCIS_HTTP_TLS_ENABLED | bool | false | Activates TLS for the http based services using the server certifcate and key configured via OCIS_HTTP_TLS_CERTIFICATE and OCIS_HTTP_TLS_KEY. If OCIS_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true.|
| OCIS_HTTP_TLS_CERTIFICATE | string | | Path/File name of the TLS server certificate (in PEM format) for the http services.|
| OCIS_HTTP_TLS_KEY | string | | Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.|
| OCIS_CACHE_STORE<br/>OCS_PRESIGNEDURL_SIGNING_KEYS_STORE | string | nats-js-kv | The type of the signing key store. Supported values are: 'redis-sentinel' and 'nats-js-kv'. See the text description for details.|
| OCIS_CACHE_STORE_NODES<br/>OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES | []string | [127.0.0.1:9233] | A list of nodes to access the configured store. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.|
| OCIS_CACHE_TTL<br/>OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL | Duration | 12h0m0s | Default time to live for signing keys. See the Environment Variable Types description for more details.|
| OCIS_CACHE_AUTH_USERNAME<br/>OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME | string | | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.|
| OCIS_CACHE_AUTH_PASSWORD<br/>OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD | string | | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.|
| OCIS_JWT_SECRET<br/>OCS_JWT_SECRET | string | | The secret to mint and validate jwt tokens.|
@@ -159,6 +159,14 @@ pre_signed_url:
allowed_http_methods:
- GET
enabled: true
signing_keys:
store: nats-js-kv
addresses:
- 127.0.0.1:9233
ttl: 12h0m0s
disable_persistence: true
username: ""
password: ""
account_backend: cs3
user_oidc_claim: preferred_username
user_cs3_claim: username
+6
View File
@@ -45,6 +45,12 @@
| PROXY_ROLE_ASSIGNMENT_DRIVER | string | default | The mechanism that should be used to assign roles to user upon login. Supported values: 'default' or 'oidc'. 'default' will assign the role 'user' to users which don't have a role assigned at the time they login. 'oidc' will assign the role based on the value of a claim (configured via PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM) from the users OIDC claims.|
| PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM | string | roles | The OIDC claim used to create the users role assignment.|
| PROXY_ENABLE_PRESIGNEDURLS | bool | true | Allow OCS to get a signing key to sign requests.|
| OCIS_CACHE_STORE<br/>PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE | string | nats-js-kv | The type of the signing key store. Supported values are: 'redis-sentinel', 'nats-js-kv' and 'ocisstoreservice' (deprecated). See the text description for details.|
| OCIS_CACHE_STORE_NODES<br/>PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES | []string | [127.0.0.1:9233] | A list of nodes to access the configured store. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.|
| OCIS_CACHE_TTL<br/>PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL | Duration | 12h0m0s | Default time to live for signing keys. See the Environment Variable Types description for more details.|
| OCIS_CACHE_DISABLE_PERSISTENCE<br/>PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_DISABLE_PERSISTENCE | bool | true | Disables persistence of the store. Only applies when store type 'nats-js-kv' is configured. Defaults to true.|
| OCIS_CACHE_AUTH_USERNAME<br/>PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME | string | | The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.|
| OCIS_CACHE_AUTH_PASSWORD<br/>PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD | string | | The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.|
| PROXY_ACCOUNT_BACKEND_TYPE | string | cs3 | Account backend the PROXY service should use. Currently only 'cs3' is possible here.|
| PROXY_USER_OIDC_CLAIM | string | preferred_username | The name of an OpenID Connect claim that is used for resolving users with the account backend. The value of the claim must hold a per user unique, stable and non re-assignable identifier. The availability of claims depends on your Identity Provider. There are common claims available for most Identity providers like 'email' or 'preferred_username' but you can also add your own claim.|
| PROXY_USER_CS3_CLAIM | string | username | The name of a CS3 user attribute (claim) that should be mapped to the 'user_oidc_claim'. Supported values are 'username', 'mail' and 'userid'.|
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Antivirus
date: 2024-02-26T13:22:56.706986233Z
date: 2024-02-26T15:09:55.173464701Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/antivirus
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Audit
date: 2024-02-26T13:22:56.707383839Z
date: 2024-02-26T15:09:55.173663822Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/audit
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Basic
date: 2024-02-26T13:22:56.707551553Z
date: 2024-02-26T15:09:55.173787422Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-basic
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Bearer
date: 2024-02-26T13:22:56.707725088Z
date: 2024-02-26T15:09:55.173936601Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-bearer
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Machine
date: 2024-02-26T13:22:56.707891099Z
date: 2024-02-26T15:09:55.174042388Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-machine
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Service
date: 2024-02-26T13:22:56.70812053Z
date: 2024-02-26T15:09:55.174132886Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-service
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Clientlog Service
date: 2024-02-26T13:22:56.708338238Z
date: 2024-02-26T15:09:55.174253461Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/clientlog
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Eventhistory
date: 2024-02-26T13:22:56.708526611Z
date: 2024-02-26T15:09:55.17438193Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/eventhistory
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Frontend
date: 2024-02-26T13:22:56.708739651Z
date: 2024-02-26T15:09:55.174506633Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/frontend
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Gateway
date: 2024-02-26T13:22:56.709049661Z
date: 2024-02-26T15:09:55.174670568Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/gateway
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Graph
date: 2024-02-26T13:22:56.70934227Z
date: 2024-02-26T15:09:55.174776717Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/graph
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: IDM
date: 2024-02-26T13:22:56.709506037Z
date: 2024-02-26T15:09:55.174898964Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/idm
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: IDP
date: 2024-02-26T13:22:56.709629008Z
date: 2024-02-26T15:09:55.174992258Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/idp
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Invitations
date: 2024-02-26T13:22:56.709798555Z
date: 2024-02-26T15:09:55.175075373Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/invitations
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Nats
date: 2024-02-26T13:22:56.709974075Z
date: 2024-02-26T15:09:55.175223369Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/nats
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Notification
date: 2024-02-26T13:22:56.710147861Z
date: 2024-02-26T15:09:55.175330498Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/notifications
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: ocDAV
date: 2024-02-26T13:22:56.710311708Z
date: 2024-02-26T15:09:55.175438099Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocdav
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: OCM
date: 2024-02-26T13:22:56.710467129Z
date: 2024-02-26T15:09:55.175528427Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocm
+19 -1
View File
@@ -1,6 +1,6 @@
---
title: OCS Service
date: 2024-02-26T13:22:56.71064349Z
date: 2024-02-26T15:09:55.175640716Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocs
@@ -19,11 +19,29 @@ The `ocs` service (open collaboration services) serves one purpose: it has an en
## Table of Contents
* [Signing-Keys Endpoint](#signing-keys-endpoint)
* [Signing-Keys Store](#signing-keys-store)
* [Example Yaml Config](#example-yaml-config)
## Signing-Keys Endpoint
The `ocs` service contains an endpoint `/cloud/user/signing-key` on which a user can GET a signing key. Note, this functionality might be deprecated or moved in the future.
## Signing-Keys Store
To authenticate presigned URLs the proxy service needs to read the signing keys from a store that is populated by the ocs service.
Possible stores that can be configured via `OCS_PRESIGNEDURL_SIGNING_KEYS_STORE` are:
- `nats-js-kv`: Stores data using key-value-store feature of [nats jetstream](https://docs.nats.io/nats-concepts/jetstream/key-value-store)
- `redis-sentinel`: Stores data in a configured Redis Sentinel cluster.
- `ocisstoreservice`: Stores data in the legacy ocis store service. Requires setting `OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` to `com.owncloud.api.store`.
The `memory` or `ocmem` stores cannot be used as they do not share the memory from the ocs service signing key memory store, even in a single process.
Make sure to configure the same store in the proxy service.
Store specific notes:
- When using `redis-sentinel`, the Redis master to use is configured via e.g. `OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` in the form of `<sentinel-host>:<sentinel-port>/<redis-master>` like `10.10.0.200:26379/mymaster`.
- When using `nats-js-kv` it is recommended to set `PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` to the same value as `OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES`. That way the proxy uses the same nats instance as the ocs service.
- When using `ocisstoreservice` the `OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` must be set to the service name `com.owncloud.api.store`. It does not support TTL and stores the presigning keys indefinitely. Also, the store service needs to be started.
## Example Yaml Config
{{< include file="services/_includes/ocs-config-example.yaml" language="yaml" >}}
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Policies
date: 2024-02-26T13:22:56.710818198Z
date: 2024-02-26T15:09:55.175757474Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/policies
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Postprocessing
date: 2024-02-26T13:22:56.711104854Z
date: 2024-02-26T15:09:55.175945175Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/postprocessing
+21 -1
View File
@@ -1,6 +1,6 @@
---
title: Proxy
date: 2024-02-26T13:22:56.711496879Z
date: 2024-02-26T15:09:55.176185663Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/proxy
@@ -26,6 +26,7 @@ The proxy service is the only service communicating to the outside and needs the
* [Automatic Role Assignments](#automatic-role-assignments)
* [Recommendations for Production Deployments](#recommendations-for-production-deployments)
* [Caching](#caching)
* [Presigned Urls](#presigned-urls)
* [Special Settings](#special-settings)
* [Metrics](#metrics)
* [1) Single Process Mode](#1)-single-process-mode)
@@ -183,6 +184,25 @@ Store specific notes:
- When using `nats-js-kv` it is recommended to set `OCIS_CACHE_STORE_NODES` to the same value as `OCIS_EVENTS_ENDPOINT`. That way the cache uses the same nats instance as the event bus.
- When using the `nats-js-kv` store, it is possible to set `OCIS_CACHE_DISABLE_PERSISTENCE` to instruct nats to not persist cache data on disc.
## Presigned Urls
To authenticate presigned URLs the proxy service needs to read signing keys from a store that is populated by the ocs service. Possible stores are:
- `nats-js-kv`: Stores data using key-value-store feature of [nats jetstream](https://docs.nats.io/nats-concepts/jetstream/key-value-store)
- `redis-sentinel`: Stores data in a configured Redis Sentinel cluster.
- `ocisstoreservice`: Stores data in the legacy ocis store service. Requires setting `PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` to `com.owncloud.api.store`.
The `memory` or `ocmem` stores cannot be used as they do not share the memory from the ocs service signing key memory store, even in a single process.
Make sure to configure the same store in the ocs service.
Store specific notes:
- When using `redis-sentinel`, the Redis master to use is configured via e.g. `OCIS_CACHE_STORE_NODES` in the form of `<sentinel-host>:<sentinel-port>/<redis-master>` like `10.10.0.200:26379/mymaster`.
- When using `nats-js-kv` it is recommended to set `OCS_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` to the same value as `PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES`. That way the ocs uses the same nats instance as the proxy service.
- When using the `nats-js-kv` store, it is possible to set `PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_DISABLE_PERSISTENCE` to instruct nats to not persist signing key data on disc.
- When using `ocisstoreservice` the `PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES` must be set to the service name `com.owncloud.api.store`. It does not support TTL and stores the presigning keys indefinitely. Also, the store service needs to be started.
## Special Settings
When using the ocis IDP service instead of an external IDP:
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Search
date: 2024-02-26T13:22:56.711821187Z
date: 2024-02-26T15:09:55.176400252Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/search
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Settings
date: 2024-02-26T13:22:56.712098607Z
date: 2024-02-26T15:09:55.176563206Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/settings
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: SSE
date: 2024-02-26T13:22:56.712330974Z
date: 2024-02-26T15:09:55.176690793Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/sse
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Storage-System
date: 2024-02-26T13:22:56.712482277Z
date: 2024-02-26T15:09:55.176794437Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/storage-system
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Storage-Users
date: 2024-02-26T13:22:56.712687051Z
date: 2024-02-26T15:09:55.176913008Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/storage-users
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Thumbnails
date: 2024-02-26T13:22:56.712978207Z
date: 2024-02-26T15:09:55.177081743Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/thumbnails
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Userlog
date: 2024-02-26T13:22:56.715979233Z
date: 2024-02-26T15:09:55.178116751Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/userlog
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Web
date: 2024-02-26T13:22:56.717378537Z
date: 2024-02-26T15:09:55.178412343Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/web
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Webdav
date: 2024-02-26T13:22:56.717594311Z
date: 2024-02-26T15:09:55.178531423Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/webdav
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Webfinger
date: 2024-02-26T13:22:56.717808904Z
date: 2024-02-26T15:09:55.178672197Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/webfinger