From f3bd7967945e8d29496c16d1f7a3625fa2cf091e Mon Sep 17 00:00:00 2001 From: Alexey Zinoviev Date: Mon, 21 Oct 2024 10:57:11 +0400 Subject: [PATCH] v333 and disable sign-up instructions --- README.md | 20 ++++++++++++++++++++ nginx/setup.sh | 2 +- setup.sh | 2 +- traefik/setup.sh | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 29eb5ca..175c1c8 100644 --- a/README.md +++ b/README.md @@ -180,3 +180,23 @@ Ensure you have configured or add the following environment variable to the fron Note: Once all the required environment variables are configured, you will see an additional button on the sign-in/sign-up pages. +## Disable Sign-Up + +You can disable public sign-ups for a deployment. When configured, sign-ups will only be permitted through an invite link to a specific workspace. + +To implement this, set the following environment variable for both the front and account services: + +```yaml + account: + ... + environment: + - DISABLE_SIGNUP=true + ... + front: + ... + environment: + - DISABLE_SIGNUP=true + ... +``` + +_Note: When setting up a new deployment, either create the initial account before disabling sign-ups or use the development tool to create the first account._ diff --git a/nginx/setup.sh b/nginx/setup.sh index 2b641f6..33de132 100755 --- a/nginx/setup.sh +++ b/nginx/setup.sh @@ -31,7 +31,7 @@ case "$NGINX_BEHIND_SSL" in esac -export HULY_VERSION="v0.6.325" +export HULY_VERSION="v0.6.333" export NGINX_SERVICE_PORT=$NGINX_SERVICE_PORT export NGINX_HTTP_SCHEME=$NGINX_HTTP_SCHEME export NGINX_WS_SCHEME=$NGINX_WS_SCHEME diff --git a/setup.sh b/setup.sh index 8c72eb4..da7c18c 100755 --- a/setup.sh +++ b/setup.sh @@ -7,4 +7,4 @@ echo "Setting Huly Server Address: $SERVER_ADDRESS" envsubst < template.conf > nginx.conf envsubst < template.env > .env -./use-version.sh v0.6.325 +./use-version.sh v0.6.333 diff --git a/traefik/setup.sh b/traefik/setup.sh index 681c61a..9d2b593 100755 --- a/traefik/setup.sh +++ b/traefik/setup.sh @@ -14,7 +14,7 @@ if [ -z "$LETSENCRYPT_EMAIL" ]; then exit 1 fi -export HULY_VERSION="v0.6.325" +export HULY_VERSION="v0.6.333" export SERVER_ADDRESS=$DOMAIN_NAME export LETSENCRYPT_EMAIL=$LETSENCRYPT_EMAIL