From 986b7a82b3dfdb1ea95c583d27ffd4d363b4eae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 23 Dec 2020 16:31:28 +0000 Subject: [PATCH] Automated changelog update [skip ci] --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4e7fe8a6..43406614e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The following sections list the changes for unreleased. ## Summary * Change - Disable pretty logging by default: [#1133](https://github.com/owncloud/ocis/pull/1133) +* Enhancement - Add OCIS_URL env var: [#1148](https://github.com/owncloud/ocis/pull/1148) ## Details @@ -17,6 +18,36 @@ The following sections list the changes for unreleased. Disable pretty logging default for performance reasons. https://github.com/owncloud/ocis/pull/1133 + +* Enhancement - Add OCIS_URL env var: [#1148](https://github.com/owncloud/ocis/pull/1148) + + Tags: ocis + + We introduced a new environment variable `OCIS_URL` that expects a URL including protocol, + host and optionally port to simplify configuring all the different services. These existing + environment variables still take precedence, but will also fall back to `OCIS_URL`: + `STORAGE_LDAP_IDP`, `STORAGE_OIDC_ISSUER`, `PROXY_OIDC_ISSUER`, + `STORAGE_FRONTEND_PUBLIC_URL`, `KONNECTD_ISS`, `WEB_OIDC_AUTHORITY`, and + `WEB_UI_CONFIG_SERVER`. + + Some environment variables are now built dynamically if they are not set: - + `STORAGE_DATAGATEWAY_PUBLIC_URL` defaults to `/data`, + also falling back to `OCIS_URL` - `WEB_OIDC_METADATA_URL` defaults to + `/.well-known/openid-configuration`, also falling back to + `OCIS_URL` + + Furthermore, the built in konnectd will generate an `identifier-registration.yaml` that + uses the `KONNECTD_ISS` in the allowed `redirect_uris` and `origins`. It simplifies the + default `https://localhost:9200` and remote deployment with `OCIS_URL` which is evaluated + as a fallback if `KONNECTD_ISS` is not set. + + An OCIS server can now be started on a remote machine as easy as + `OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server`. + + Note that the `OCIS_DOMAIN` environment variable is not used by ocis, but by the docker + containers. + + https://github.com/owncloud/ocis/pull/1148 # Changelog for [1.0.0] (2020-12-17) The following sections list the changes for 1.0.0.