type
Post
status
Published
date
Apr 13, 2023
summary
slug
chatgpt/wechat_mp
tags
ChatGPT
category
ChatGPT
password
icon
背景
教程
云服务器
点此链接注册购买有优惠: http://bit.ly/3GlfucW
输入:RAKBL9 有9折优惠
API Key
API Key获取地址:https://platform.openai.com/
部署
# 更新包管理器 sudo apt-get update # 安装docker apt install docker.io # 下载docker镜像 docker pull techxiaofei/bot-on-anything:latest # 给镜像打标签 docker tag techxiaofei/bot-on-anything bot-on-anything # 下载配置文件(公众号版),只需要改api key即可 # token可改可不改,只需要保证和公众号里面配置的一样即可。 wget -O config.json https://raw.githubusercontent.com/techxiaofei/resource/main/config/chatgpt/official/config.json # 后台运行 docker run --name bot-on-anything -d -p 0.0.0.0:80:80 -v "$(pwd)/config.json:/app/config.json" bot-on-anything python app.py # 查看log docker logs -f bot-on-anything