bestony / ChatGPT-Feishu

给飞书准备的 ChatGPT 机器人
GNU General Public License v3.0
1.12k stars 281 forks source link

event.js文件不用aircode,怎么迁移到自己的服务器 #58

Open w245607930 opened 1 year ago

WhyMeta commented 1 year ago

将aircode后端服务修改为express,aircode数据库修改为sqlite3,改的东西还挺多的,而且国内已经全面墙了API

w245607930 commented 1 year ago

将aircode后端服务修改为express,aircode数据库修改为sqlite3,改的东西还挺多的,而且国内已经全面墙了API

有没有示例代码的啊?哈哈

WhyMeta commented 1 year ago

刚刚弄好:feishu-chatgpt-express

Jonnyan404 commented 1 year ago

刚刚弄好:feishu-chatgpt-express

刚更新的镜像: 执行以下docker-compose.yml

# Author: jonnyan404
# update: 2023-03-08 20:36:18
version: '3.0'
services:
    chatgpt:
        container_name: chatgpt
        ports:
            - '9000:9000'
        environment:
            - APPID=cli_xxxxx     #应用ID
            - SECRET=Mxxxxxxxxxx  #应用secret
            - BOTNAME=chatgpt     #机器人名字,必须英文
            - KEY=sk-xxxxxx       #openai的key
        #restart: always
        image: jonnyan404/chatgpt