- 申请 key: makersuite.google.com/app/apikey
- docker环境
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker
- 键部署geminiprochat
注意: xxxxxxxxxxxxxxxxx 替换成你自己的key
docker run --name geminiprochat --restart always -p 3030:3000 -itd -e GEMINI_API_KEY=xxxxxxxxxxxxxxxxx howie6879/geminiprochat:v0.1.0
- 其他参数参考
github.com/babaohuang/…
Name | Description | Required |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `GEMINI_API_KEY` | Your API Key for GEMINI. You can get it from [here](https:
| `API_BASE_URL` | Custom base url for GEMINI API. Click [here](https:
| `HEAD_SCRIPTS` | Inject analytics or other scripts before `</head>` of the page | No |
| `PUBLIC_SECRET_KEY` | Secret string for the project. Use for generating signatures for API calls | No |
| `SITE_PASSWORD` | Set password for site, support multiple password separated by comma. If not set, site will be public | No