Update README

This commit is contained in:
hkfires
2025-09-06 10:24:48 +08:00
parent 7b546ea2ee
commit e074e957d1
2 changed files with 18 additions and 8 deletions

View File

@@ -499,9 +499,14 @@ docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.ya
1. Create a `config.yaml` from `config.example.yaml` and customize it. 1. Create a `config.yaml` from `config.example.yaml` and customize it.
2. Build and start the services using Docker Compose: 2. Build and start the services using the build scripts:
- For Windows (PowerShell):
```powershell
./docker-build.ps1
```
- For Linux/macOS:
```bash ```bash
docker compose up -d --build bash docker-build.sh
``` ```
3. To authenticate with providers, run the login command inside the container: 3. To authenticate with providers, run the login command inside the container:

View File

@@ -512,9 +512,14 @@ docker run --rm -p 8317:8317 -v /path/to/your/config.yaml:/CLIProxyAPI/config.ya
1. 从 `config.example.yaml` 创建一个 `config.yaml` 文件并进行自定义。 1. 从 `config.example.yaml` 创建一个 `config.yaml` 文件并进行自定义。
2. 使用 Docker Compose 构建并启动服务: 2. 使用构建脚本构建并启动服务:
- Windows (PowerShell):
```powershell
./docker-build.ps1
```
- Linux/macOS:
```bash ```bash
docker compose up -d --build bash docker-build.sh
``` ```
3. 要在容器内运行登录命令进行身份验证: 3. 要在容器内运行登录命令进行身份验证: