Files
RefreshToV1Api/docker-compose.yml

27 lines
825 B
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=<Uploader 容器可以访问到的地址http://127.0.0.1:50012>
- KEY_FOR_GPTS_INFO=<一个仅用于获取GPTs信息的fk> # 如果不需要额外使用gpts可以不填
volumes:
- ./log:/app/log
- ./images:/app/images
- ./gpts.json:/app/gpts.json
uploader:
image: wizerd/pandora-to-api:latest
restart: always
entrypoint: ["python3", "/app/upload.py"]
volumes:
- ./images:/app/images
ports:
- "50012:23333"