From d1a6e20aa011310644c3a22caa36a3f8500ac83d Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Mon, 13 Nov 2023 16:53:36 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5eadacf64a5..ae54a638ce1 100644 --- a/README.md +++ b/README.md @@ -346,6 +346,7 @@ If you want to add a new translation, read this [document](./docs/translation.md [@synwith](https://github.com/synwith) [@piksonGit](https://github.com/piksonGit) [@ouyangzhiping](https://github.com/ouyangzhiping) +[@wenjiavv](https://github.com/wenjiavv) ### Contributor From 0eb3aecbf6ef63e1247254024c56920e42cba19d Mon Sep 17 00:00:00 2001 From: H0llyW00dzZ Date: Mon, 13 Nov 2023 17:18:16 +0700 Subject: [PATCH 2/2] Update [Docs] [+] docs(README.md): update Docker installation instructions with support for Edge & Nodejs Runtime and Edge Only Runtime --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ae54a638ce1..c0a4d73cab0 100644 --- a/README.md +++ b/README.md @@ -256,7 +256,7 @@ yarn dev > [简体中文 > 如何部署到私人服务器](./README_CN.md#部署) -### Docker (Recommended) +### Docker (Recommended) (Edge & Nodejs Runtime) ```shell docker pull yidadaa/chatgpt-next-web @@ -277,6 +277,27 @@ docker run -d -p 3000:3000 \ yidadaa/chatgpt-next-web ``` +### Docker (Recommended) (Edge Only Runtime) + +```shell +docker pull ghcr.io/h0llyw00dzz/chatgpt-next-web + +docker run -d -p 3000:3000 \ + -e OPENAI_API_KEY=sk-xxxx \ + -e CODE=your-password \ + ghcr.io/h0llyw00dzz/chatgpt-next-web +``` + +You can start service behind a proxy: + +```shell +docker run -d -p 3000:3000 \ + -e OPENAI_API_KEY=sk-xxxx \ + -e CODE=your-password \ + -e PROXY_URL=http://localhost:7890 \ + ghcr.io/h0llyw00dzz/chatgpt-next-web +``` + If your proxy needs password, use: ```shell