doc: #695 how to use a proxy with password in docker

This commit is contained in:
Yidadaa
2023-06-24 00:29:47 +08:00
parent 1722f75dcb
commit 65a24c16bc
2 changed files with 13 additions and 5 deletions

View File

@@ -147,6 +147,12 @@ docker run -d -p 3000:3000 \
yidadaa/chatgpt-next-web
```
如果你的本地代理需要账号密码,可以使用:
```shell
-e PROXY_URL="http://127.0.0.1:7890 user password"
```
如果你需要指定其他环境变量,请自行在上述命令中增加 `-e 环境变量=环境变量值` 来指定。
### 本地部署