From 631f64e17525acfaf91777c23f78f65dcba7f11c Mon Sep 17 00:00:00 2001 From: Ross McDonald Date: Thu, 12 Apr 2018 12:32:26 -0500 Subject: [PATCH] Update API documentation with new feature flag. Fix tasker redis host-port variable config. --- articles/enterprise/components/api-overview.md | 16 ++++++++++++++++ .../enterprise/components/tasker-overview.md | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/articles/enterprise/components/api-overview.md b/articles/enterprise/components/api-overview.md index 0b4ee28..765ae0d 100644 --- a/articles/enterprise/components/api-overview.md +++ b/articles/enterprise/components/api-overview.md @@ -224,3 +224,19 @@ curl -v http://localhost:3030/health ``` If the API was installed and configured properly, you will receive an HTTP 200 response back. + +## Other Configuration Options + +### Disabling Registration + +New users can be prevented from registering with Stoplight by exposing a +`DISABLE_REGISTRATION=true` variable either through the environment or +configuration. + +If this option is enabled, new user registration requests will receive the +following error when attempting to register: + +> User registration has been temporarily disabled. Please contact your administrator. + +_Please note_, enabling this feature does not prevent existing users from +inviting new users. diff --git a/articles/enterprise/components/tasker-overview.md b/articles/enterprise/components/tasker-overview.md index f5bce8d..a6eb063 100644 --- a/articles/enterprise/components/tasker-overview.md +++ b/articles/enterprise/components/tasker-overview.md @@ -81,7 +81,7 @@ TASKER_MODE="shell" CORE_ROOT="/opt/stoplight-hub-builder" # Redis host:port to connect to (must be available before starting service) -TASKER_REDIS_HOSTPORT="redis:6379" +TASKER_REDIS_HOSTPORT="redis://redis:6379" # Redis password, if any TASKER_REDIS_PASSWORD="" # Redis database @@ -122,7 +122,7 @@ TASKER_MODE="shell" CORE_ROOT="/opt/stoplight-hub-builder" # Redis host:port to connect to (must be available before starting service) -TASKER_REDIS_HOSTPORT="redis:6379" +TASKER_REDIS_HOSTPORT="redis://redis:6379" # Redis password, if any TASKER_REDIS_PASSWORD="" # Redis database