Files
RefreshToV1Api/docker-compose.yml

21 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3'
services:
backend-to-api:
image: wizerd/pandora-to-api:latest
restart: always
ports:
- "50011:33333"
environment:
- BASE_URL=<Pandora-Next的部署地址https://pandoranext.com>
- PROXY_API_PREFIX=<Pandora-Next的PROXY_API_PREFIX>
- UPLOAD_BASE_URL=<50011端口在公网可以访问到的地址http://1.2.3.4:50011如果使用了反代需填入反代后的域名如https://pandora-backend-api.com>
- KEY_FOR_GPTS_INFO=<一个仅用于获取GPTs信息的fk> # 如果不需要额外使用gpts可以不填
- GPT_4_S_New_Name=gpt-4-s # gpt-4-s模型的自定义模型名称支持同时设置多个用英文逗号分隔
- GPT_4_MOBILE_NEW_NAME=gpt-4-mobile # gpt-4-mobile模型的自定义模型名称支持同时设置多个用英文逗号分隔
- GPT_3_5_NEW_NAME=gpt-3.5-turbo # gpt-3.5-turbo模型的自定义模型名称支持同时设置多个用英文逗号分隔
volumes:
- ./log:/app/log
- ./images:/app/images
- ./gpts.json:/app/gpts.json