mirror of
https://github.com/Yanyutin753/RefreshToV1Api.git
synced 2025-10-15 07:31:35 +00:00
24 lines
642 B
YAML
24 lines
642 B
YAML
version: '3'
|
||
|
||
services:
|
||
backend-to-api:
|
||
image: wizerd/pandora-to-api:0.0.4
|
||
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>
|
||
volumes:
|
||
- ./log:/app/log
|
||
|
||
uploader:
|
||
image: wizerd/pandora-to-api:0.0.4
|
||
restart: always
|
||
entrypoint: ["python3", "/app/upload.py"]
|
||
volumes:
|
||
- ./images:/app/images
|
||
ports:
|
||
- "50012:23333"
|
||
|