docs: Update README

This commit is contained in:
wengchaoxi 2024-03-29 15:50:55 +08:00
parent 5f8fdf9117
commit 076556f09c
No known key found for this signature in database
GPG Key ID: B0A9EFEC3853F0D8
2 changed files with 12 additions and 0 deletions

View File

@ -57,6 +57,12 @@ cd suno-api
npm install
```
Alternatively, you can use [Docker Compose](https://docs.docker.com/compose/)
```bash
docker compose build && docker compose up
```
### 3. Configure suno-api
- If deployed to Vercel, please add an environment variable `SUNO_COOKIE` in the Vercel dashboard, with the value of the cookie obtained in the first step.

View File

@ -56,6 +56,12 @@ cd suno-api
npm install
```
或者,你也可以使用 [Docker Compose](https://docs.docker.com/compose/)
```bash
docker compose build && docker compose up
```
### 3. 配置 suno-api
- 如果部署到了 Vercel请在 Vercel 后台,添加环境变量 `SUNO_COOKIE`,值为第一步获取的 cookie。