zero-ppanel/deploy/docker-compose.cloud.yml
shanshanzhong 9dacd85a89
Some checks failed
Build docker and publish / prepare (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.admin image_name:ppanel-admin name:admin]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.api image_name:ppanel-api name:api]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.node image_name:ppanel-node name:node]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.queue image_name:ppanel-queue name:queue]) (push) Has been cancelled
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.scheduler image_name:ppanel-scheduler name:scheduler]) (push) Has been cancelled
Build docker and publish / deploy (push) Has been cancelled
Build docker and publish / notify (push) Has been cancelled
初始化
2026-02-26 04:12:43 -08:00

68 lines
1.5 KiB
YAML

# 云端部署用 docker-compose
# 镜像由 CI 预先构建并推送到镜像仓库
# 本地基础设施 (mysql/redis) 需提前独立部署
version: '3.8'
services:
ppanel-api:
image: ${PPANEL_REPO}/ppanel-api:${PPANEL_TAG:-latest}
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./etc/api:/app/etc
logging:
driver: json-file
options:
max-size: "50m"
max-file: "3"
ppanel-admin:
image: ${PPANEL_REPO}/ppanel-admin:${PPANEL_TAG:-latest}
restart: unless-stopped
ports:
- "8081:8081"
volumes:
- ./etc/admin:/app/etc
logging:
driver: json-file
options:
max-size: "50m"
max-file: "3"
ppanel-node:
image: ${PPANEL_REPO}/ppanel-node:${PPANEL_TAG:-latest}
restart: unless-stopped
ports:
- "8082:8082"
volumes:
- ./etc/node:/app/etc
logging:
driver: json-file
options:
max-size: "50m"
max-file: "3"
ppanel-queue:
image: ${PPANEL_REPO}/ppanel-queue:${PPANEL_TAG:-latest}
restart: unless-stopped
volumes:
- ./etc/queue:/app/etc
logging:
driver: json-file
options:
max-size: "50m"
max-file: "3"
ppanel-scheduler:
image: ${PPANEL_REPO}/ppanel-scheduler:${PPANEL_TAG:-latest}
restart: unless-stopped
volumes:
- ./etc/scheduler:/app/etc
logging:
driver: json-file
options:
max-size: "50m"
max-file: "3"