zero-ppanel/deploy/docker-compose.cloud.yml
shanshanzhong 9bdc593db4
Some checks failed
Build docker and publish / prepare (20.15.1) (push) Successful in 3s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.admin image_name:ppanel-admin name:admin]) (push) Failing after 1m37s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.api image_name:ppanel-api name:api]) (push) Failing after 1m42s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.node image_name:ppanel-node name:node]) (push) Failing after 1m42s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.queue image_name:ppanel-queue name:queue]) (push) Failing after 1m34s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.scheduler image_name:ppanel-scheduler name:scheduler]) (push) Failing after 1m39s
Build docker and publish / deploy (push) Has been skipped
Build docker and publish / notify (push) Successful in 2s
环境变量
2026-02-28 04:02:14 -08:00

78 lines
1.6 KiB
YAML

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