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
- 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
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
- 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
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
- amd64
- arm64