Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#2110 from Yidadaa/bugfix-0623
Browse files Browse the repository at this point in the history
doc: ChatGPTNextWeb#695 how to use a proxy with password in docker
  • Loading branch information
Yidadaa authored Jun 23, 2023
2 parents 432adb1 + 2a362a6 commit 05941cb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@ One-Click to get well-designed cross-platform ChatGPT web UI.
[网页版](https://chatgpt.nextweb.fun/) / [客户端](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [反馈](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [QQ 群](https://github.com/Yidadaa/ChatGPT-Next-Web/discussions/1724) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg)

[web-url]: https://chatgpt.nextweb.fun

[download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases

[Web-image]: https://img.shields.io/badge/Web-PWA-orange?logo=microsoftedge

[Windows-image]: https://img.shields.io/badge/-Windows-blue?logo=windows

[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple

[Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
Expand Down Expand Up @@ -191,6 +186,7 @@ If you do not want users to input their own API key, set this value to 1.
If you do not want users to use GPT-4, set this value to 1.

## Requirements

NodeJS >= 18, Docker >= 20

## Development
Expand Down Expand Up @@ -243,6 +239,12 @@ docker run -d -p 3000:3000 \
yidadaa/chatgpt-next-web
```

If your proxy needs password, use:

```shell
-e PROXY_URL="http://127.0.0.1:7890 user pass"
```

### Shell

```shell
Expand Down
6 changes: 6 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 环境变量=环境变量值` 来指定。

### 本地部署
Expand Down

0 comments on commit 05941cb

Please sign in to comment.