Skip to content

wjfyh123/bingpt_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bingpt_docker ZH

本项目基于下列项目,将 PandoraAI 集成到docker镜像

Docker-Cli使用指南

docker run -itd --name bingpt --hostname bingpt --net bridge -p 3001:3000 --restart always -v /your_path/bingpt/.env:/pandora-ai/.env -v /your_path/bingpt/nuxt.config.js:/pandora-ai/nuxt.config.js -e API_BASE_URL=https://www.example.com niliaerith/bingpt:latest

Docker Compose使用指南

  • bingpt
  bingpt:
    image: niliaerith/bingpt:latest
    container_name: bingpt
    hostname: bingpt
    restart: always
    network_mode: bridge
    ports:
      - 3001:3000
    environment:
      - API_BASE_URL=https://www.example.com
    volumes:
      - /your_path/bingpt/.env:/pandora-ai/.env
      - /your_path/bingpt/nuxt.config.js:/pandora-ai/nuxt.config.js

变量

必须变量

  • -v /your_path/bingpt/.env:/pandora-ai/.env-e API_BASE_URL=https://www.example.com
    • -v /your_path/bingpt/.env:/pandora-ai/.env文件为API接口配置文件,默认值为API_BASE_URL=http://localhost:3000,第一次运行自动生成,请自行修改。或添加环境变量 -e API_BASE_URL=https://www.example.com

可选变量

  • -v /your_path/bingpt/nuxt.config.js:/pandora-ai/nuxt.config.js
    • nuxt.config.js文件为nuxt配置文件,可修改标题等

支持平台

  • amd64
  • arm64

感谢

bingpt_docker EN

This project is based on the following projects to integrate PandoraAI into the docker image

Docker-Cli Usage Guide

docker run -itd --name bingpt --hostname bingpt --net bridge -p 3001:3000 --restart always -v /your_path/bingpt/.env:/pandora-ai/.env -v /your_path/bingpt/nuxt.config.js:/pandora-ai/nuxt.config.js -e API_BASE_URL=https://www.example.com niliaerith/bingpt:latest

Docker Compose Usage Guide

  • bingpt
  bingpt:
    image: niliaerith/bingpt:latest
    container_name: bingpt
    hostname: bingpt
    restart: always
    network_mode: bridge
    ports:
      - 3001:3000
    environment:
      - API_BASE_URL=https://www.example.com
    volumes:
      - /your_path/bingpt/.env:/pandora-ai/.env
      - /your_path/bingpt/nuxt.config.js:/pandora-ai/nuxt.config.js

Variable

Necessary Variable

  • -v /your_path/bingpt/.env:/pandora-ai/.env or -e API_BASE_URL=https://www.example.com
    • -v /your_path/bingpt/.env:/pandora-ai/.env This file is the API configuration file,the default value isAPI_BASE_URL=http://localhost:3000,It is automatically generated when you run it for the first time. Please modify it. Or add environment variable -e API_BASE_URL=https://www.example.com

Optional Variable

  • -v /your_path/bingpt/nuxt.config.js:/pandora-ai/nuxt.config.js
    • nuxt.config.js file is nuxt configuration file,Can be used to change the title, etc

Support Platform

  • amd64
  • arm64

Thanks

About

PandoraAI in docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published