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`.
This commit is contained in:
@@ -422,12 +422,15 @@ To enable this feature, set the `GITSTORE_GIT_URL` environment variable to the U
|
|||||||
**Environment Variables**
|
**Environment Variables**
|
||||||
|
|
||||||
| Variable | Required | Default | Description |
|
| 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_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_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_USERNAME` | No | | The username for Git authentication. |
|
||||||
| `GITSTORE_GIT_TOKEN` | No | | The personal access token (or password) for Git authentication. |
|
| `GITSTORE_GIT_TOKEN` | No | | The personal access token (or password) for Git authentication. |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**How it Works**
|
**How it Works**
|
||||||
|
|
||||||
1. **Cloning:** On startup, the application clones the remote Git repository to the `GITSTORE_LOCAL_PATH`.
|
1. **Cloning:** On startup, the application clones the remote Git repository to the `GITSTORE_LOCAL_PATH`.
|
||||||
|
|||||||
+2
-1
@@ -435,7 +435,8 @@ openai-compatibility:
|
|||||||
**环境变量**
|
**环境变量**
|
||||||
|
|
||||||
| 变量 | 必需 | 默认值 | 描述 |
|
| 变量 | 必需 | 默认值 | 描述 |
|
||||||
| ----------------------- | ---- | --------------------- | ------------------------------------------------------------------------------------------------------ |
|
|-------------------------|----|--------|----------------------------------------------------|
|
||||||
|
| `MANAGEMENT_PASSWORD` | 是 | | 控制面板密码 |
|
||||||
| `GITSTORE_GIT_URL` | 是 | | 要使用的 Git 仓库的 HTTPS URL。 |
|
| `GITSTORE_GIT_URL` | 是 | | 要使用的 Git 仓库的 HTTPS URL。 |
|
||||||
| `GITSTORE_LOCAL_PATH` | 否 | 当前工作目录 | 将克隆 Git 仓库的本地路径。在 Docker 内部,此路径默认为 `/CLIProxyAPI`。 |
|
| `GITSTORE_LOCAL_PATH` | 否 | 当前工作目录 | 将克隆 Git 仓库的本地路径。在 Docker 内部,此路径默认为 `/CLIProxyAPI`。 |
|
||||||
| `GITSTORE_GIT_USERNAME` | 否 | | 用于 Git 身份验证的用户名。 |
|
| `GITSTORE_GIT_USERNAME` | 否 | | 用于 Git 身份验证的用户名。 |
|
||||||
|
|||||||
Reference in New Issue
Block a user