From 2be34c42f4e6acbf98ae8bf9171adb15c031c276 Mon Sep 17 00:00:00 2001 From: Ian Ngethe Muchiri <100555904+ianmuchyri@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:09:29 +0300 Subject: [PATCH] NOISSUE - Update UI service env variables (#2105) Signed-off-by: ianmuchyri --- docker/.env | 4 +++- docker/docker-compose.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/.env b/docker/.env index 5860920b3e..d551f94294 100644 --- a/docker/.env +++ b/docker/.env @@ -165,7 +165,7 @@ MG_USERS_DB_SSL_ROOT_CERT= MG_USERS_RESET_PWD_TEMPLATE=users.tmpl MG_USERS_INSTANCE_ID= MG_USERS_ALLOW_SELF_REGISTER=true -MG_OAUTH_UI_REDIRECT_URL="http://localhost:9095/domains" +MG_OAUTH_UI_REDIRECT_URL="http://localhost:9095/tokens/secure" MG_OAUTH_UI_ERROR_URL="http://localhost:9095/error" ### Email utility @@ -275,6 +275,8 @@ MG_UI_DB_SSL_MODE=disable MG_UI_DB_SSL_CERT= MG_UI_DB_SSL_KEY= MG_UI_DB_SSL_ROOT_CERT= +MG_UI_HASH_KEY=5jx4x2Qg9OUmzpP5dbveWQ +MG_UI_BLOCK_KEY=UtgZjr92jwRY6SPUndHXiyl9QY8qTUyZ ## Addons Services ### Bootstrap diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 2fd6152613..160975e9a4 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -738,7 +738,9 @@ services: MG_GOOGLE_CLIENT_ID: ${MG_GOOGLE_CLIENT_ID} MG_GOOGLE_CLIENT_SECRET: ${MG_GOOGLE_CLIENT_SECRET} MG_GOOGLE_REDIRECT_URL: ${MG_GOOGLE_REDIRECT_URL} - MG_GOOGLE_STATE: ${MG_GOOGLE_STATE} + MG_GOOGLE_STATE: ${MG_GOOGLE_STATE} + MG_UI_HASH_KEY: ${MG_UI_HASH_KEY} + MG_UI_BLOCK_KEY: ${MG_UI_BLOCK_KEY} ports: - ${MG_UI_PORT}:${MG_UI_PORT} networks: