Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Update [Docs] (#90)
Browse files Browse the repository at this point in the history
* Update README.md

* Update [Docs]

[+] docs(README.md): update Docker installation instructions with support for Edge & Nodejs Runtime and Edge Only Runtime

---------

Co-authored-by: Yidadaa <yidadaa@qq.com>
  • Loading branch information
H0llyW00dzZ and Yidadaa authored Nov 13, 2023
1 parent ae0c47e commit feed735
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ yarn dev

> [简体中文 > 如何部署到私人服务器](./README_CN.md#部署)
### Docker (Recommended)
### Docker (Recommended) (Edge & Nodejs Runtime)

```shell
docker pull yidadaa/chatgpt-next-web
Expand All @@ -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
Expand Down Expand Up @@ -346,6 +367,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

Expand Down

0 comments on commit feed735

Please sign in to comment.