From 6ec028808fa827e5a148e3f2a1cb9054417d804c Mon Sep 17 00:00:00 2001 From: Luis Pater Date: Sun, 12 Oct 2025 23:06:20 +0800 Subject: [PATCH] docs(readme): add `MANAGEMENT_PASSWORD` environment variable documentation - Updated environment variable table in both English (README.md) and Chinese (README_CN.md) to include `MANAGEMENT_PASSWORD`. --- README.md | 15 +++++++++------ README_CN.md | 13 +++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 799d0637..61a72015 100644 --- a/README.md +++ b/README.md @@ -421,12 +421,15 @@ To enable this feature, set the `GITSTORE_GIT_URL` environment variable to the U **Environment Variables** -| Variable | Required | Default | Description | -| ----------------------- | -------- | ------------------------- | -------------------------------------------------------------------------------------------------------- | -| `GITSTORE_GIT_URL` | Yes | | The HTTPS URL of the Git repository to use. | -| `GITSTORE_LOCAL_PATH` | No | Current working directory | The local path where the Git repository will be cloned. Inside Docker, this defaults to `/CLIProxyAPI`. | -| `GITSTORE_GIT_USERNAME` | No | | The username for Git authentication. | -| `GITSTORE_GIT_TOKEN` | No | | The personal access token (or password) for Git authentication. | +| Variable | Required | Default | Description | +|-------------------------|----------|---------------------------|---------------------------------------------------------------------------------------------------------| +| `MANAGEMENT_PASSWORD` | Yes | | The password for management webui. | +| `GITSTORE_GIT_URL` | Yes | | The HTTPS URL of the Git repository to use. | +| `GITSTORE_LOCAL_PATH` | No | Current working directory | The local path where the Git repository will be cloned. Inside Docker, this defaults to `/CLIProxyAPI`. | +| `GITSTORE_GIT_USERNAME` | No | | The username for Git authentication. | +| `GITSTORE_GIT_TOKEN` | No | | The personal access token (or password) for Git authentication. | + + **How it Works** diff --git a/README_CN.md b/README_CN.md index 7a40ab09..0308168d 100644 --- a/README_CN.md +++ b/README_CN.md @@ -434,12 +434,13 @@ openai-compatibility: **环境变量** -| 变量 | 必需 | 默认值 | 描述 | -| ----------------------- | ---- | --------------------- | ------------------------------------------------------------------------------------------------------ | -| `GITSTORE_GIT_URL` | 是 | | 要使用的 Git 仓库的 HTTPS URL。 | -| `GITSTORE_LOCAL_PATH` | 否 | 当前工作目录 | 将克隆 Git 仓库的本地路径。在 Docker 内部,此路径默认为 `/CLIProxyAPI`。 | -| `GITSTORE_GIT_USERNAME` | 否 | | 用于 Git 身份验证的用户名。 | -| `GITSTORE_GIT_TOKEN` | 否 | | 用于 Git 身份验证的个人访问令牌(或密码)。 | +| 变量 | 必需 | 默认值 | 描述 | +|-------------------------|----|--------|----------------------------------------------------| +| `MANAGEMENT_PASSWORD` | 是 | | 控制面板密码 | +| `GITSTORE_GIT_URL` | 是 | | 要使用的 Git 仓库的 HTTPS URL。 | +| `GITSTORE_LOCAL_PATH` | 否 | 当前工作目录 | 将克隆 Git 仓库的本地路径。在 Docker 内部,此路径默认为 `/CLIProxyAPI`。 | +| `GITSTORE_GIT_USERNAME` | 否 | | 用于 Git 身份验证的用户名。 | +| `GITSTORE_GIT_TOKEN` | 否 | | 用于 Git 身份验证的个人访问令牌(或密码)。 | **工作原理**