Disable admin UI (/ui) and API docs (Swagger/ReDoc/openapi) on the public gateway
This commit is contained in:
1 parent
700154c3d4
commit
fb921b6e09
1 file changed
+9
@@ -65,6 +65,15 @@ export DISABLE_SCHEMA_UPDATE="false"
|
|||||||
export UI_USERNAME="admin"
|
export UI_USERNAME="admin"
|
||||||
export UI_PASSWORD="${LITELLM_MASTER_KEY}"
|
export UI_PASSWORD="${LITELLM_MASTER_KEY}"
|
||||||
|
|
||||||
|
# DISABLE the admin UI and API docs. The gateway must stay publicly reachable
|
||||||
|
# for the /v1 API (member keys), but we don't want to advertise a login-gated
|
||||||
|
# admin console (/ui) or LiteLLM's Swagger/ReDoc/openapi surfaces. Admin
|
||||||
|
# visibility comes from the admin dashboard / the API directly.
|
||||||
|
export DISABLE_ADMIN_UI="True"
|
||||||
|
export NO_DOCS="True"
|
||||||
|
export NO_REDOC="True"
|
||||||
|
export NO_OPENAPI="True"
|
||||||
|
|
||||||
# Proxy settings for Cloudron's reverse proxy
|
# Proxy settings for Cloudron's reverse proxy
|
||||||
export LITELLM_PROXY_BASE_URL="https://${CLOUDRON_APP_DOMAIN}"
|
export LITELLM_PROXY_BASE_URL="https://${CLOUDRON_APP_DOMAIN}"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user