PandoraNext搭建过程
in 技术 with 0 comment 阅读:1153次
PandoraNext搭建过程
in 技术 with 0 comment 阅读:1153次

PandoraNext搭建过程

1、docker安装

(1)下载文件:git clone https://github.com/Yidadaa/ChatGPT-Next-Web.git
(2)获取license_id填写在data/config.json中。
(3)[获取access_token]填写在token.json中(https://chat.openai.com/api/auth/session)
(4)修改配置:config.json、tokens.json
(5)修改docker-compose.yml
(6)启动安装 docker-compose up -d`
(7)访问测试

docker-compose.yml参考如下:

version: '3'
services:
  pandora-next:
    image: pengzhile/pandora-next
    container_name: PandoraNext
    network_mode: bridge
    restart: always
    ports:
      - "8900:8181"
    environment:
      - PANDORA_NEXT_LICENSE=license_id(需要修改)
    volumes:
      - ./data:/data
      - ./sessions:/root/.cache/PandoraNext

启动:docker compose up -d

2、源码安装

Responses
您是第 273316 位访客