add wechat env 🚀

This commit is contained in:
Evan 2022-12-14 15:12:12 +09:00
parent 406b2cfa41
commit 677cafaaa0

View File

@ -47,11 +47,11 @@ go run main.go
同时启动微信和telegram微信登陆的地址请查看运行日志
```
# apple silicon
docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" telegram="你的telegram token" xiaomoinfo/wechatgpt:latest
# apple silicon 如果不加触发关键字的话默认为: chatgpt
docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" -e wechat="触发关键字" telegram="你的telegram token" xiaomoinfo/wechatgpt:latest
# linux amd64
docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" telegram="你的telegram token" xiaomoinfo/wechatgpt-amd64:latest
# linux amd64 如果不加触发关键字的话默认为: chatgpt
docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" telegram="你的telegram token" -e wechat="触发关键字" xiaomoinfo/wechatgpt-amd64:latest
```
@ -60,11 +60,11 @@ docker run -d --name="wechatgpt" -e apiKey="你的chatgpt apiKey" telegram="你
如果只想运行微信智能机器人的话运行下面这段代码,微信登陆的地址请查看运行日志
```
# apple silicon
docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" xiaomoinfo/wechatgpt:latest
# apple silicon 如果不加触发关键字的话默认为: chatgpt
docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" -e wechat="触发关键字" xiaomoinfo/wechatgpt:latest
# linux amd64
docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" xiaomoinfo/wechatgpt-amd64:latest
# linux amd64 如果不加触发关键字的话默认为: chatgpt
docker run -d --name wechatgpt -e apiKey="你的chatgpt apiKey" -e wechat="触发关键字" xiaomoinfo/wechatgpt-amd64:latest
```