Skip to content

Commit

Permalink
chore: update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogtiti committed Dec 28, 2024
1 parent 403dc47 commit af74153
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,12 +421,12 @@ yarn dev
### Docker (Recommended)

```shell
docker pull yidadaa/chatgpt-next-web
docker pull dogtititi/chatgpt-next-web-earlybird

docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=your-password \
yidadaa/chatgpt-next-web
dogtititi/chatgpt-next-web-earlybird
```

You can start service behind a proxy:
Expand All @@ -436,7 +436,7 @@ docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=your-password \
-e PROXY_URL=http://localhost:7890 \
yidadaa/chatgpt-next-web
dogtititi/chatgpt-next-web-earlybird
```

If your proxy needs password, use:
Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,12 @@ BASE_URL=https://b.nextweb.fun/api/proxy
> ⚠️ 注意:docker 版本在大多数时间都会落后最新的版本 1 到 2 天,所以部署后会持续出现“存在更新”的提示,属于正常现象。
```shell
docker pull yidadaa/chatgpt-next-web
docker pull dogtititi/chatgpt-next-web-earlybird

docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=页面访问密码 \
yidadaa/chatgpt-next-web
dogtititi/chatgpt-next-web-earlybird
```

你也可以指定 proxy:
Expand All @@ -304,7 +304,7 @@ docker run -d -p 3000:3000 \
-e CODE=页面访问密码 \
--net=host \
-e PROXY_URL=http://127.0.0.1:7890 \
yidadaa/chatgpt-next-web
dogtititi/chatgpt-next-web-earlybird
```

如果你的本地代理需要账号密码,可以使用:
Expand Down
6 changes: 3 additions & 3 deletions README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@ OPENAI_API_KEY=<your api key here>
> ⚠️ 注意:Docker バージョンは最新バージョンより 1~2 日遅れることが多いため、デプロイ後に「更新があります」の通知が出続けることがありますが、正常です。
```shell
docker pull yidadaa/chatgpt-next-web
docker pull dogtititi/chatgpt-next-web-earlybird

docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=ページアクセスパスワード \
yidadaa/chatgpt-next-web
dogtititi/chatgpt-next-web-earlybird
```

プロキシを指定することもできます:
Expand All @@ -274,7 +274,7 @@ docker run -d -p 3000:3000 \
-e CODE=ページアクセスパスワード \
--net=host \
-e PROXY_URL=http://127.0.0.1:7890 \
yidadaa/chatgpt-next-web
dogtititi/chatgpt-next-web-earlybird
```

ローカルプロキシがアカウントとパスワードを必要とする場合は、以下を使用できます:
Expand Down

0 comments on commit af74153

Please sign in to comment.