zero-ppanel/deploy/docker-compose-env.yml
shanshanzhong 54d4ebd54c
All checks were successful
Build docker and publish / prepare (20.15.1) (push) Successful in 3s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.api image_name:ppanel-api name:api]) (push) Successful in 8m6s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.queue image_name:ppanel-queue name:queue]) (push) Successful in 4m7s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.admin image_name:ppanel-admin name:admin]) (push) Successful in 4m11s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.node image_name:ppanel-node name:node]) (push) Successful in 4m11s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.rpc-core image_name:ppanel-rpc-core name:rpc-core]) (push) Successful in 8m12s
Build docker and publish / build (map[dockerfile:deploy/Dockerfile.scheduler image_name:ppanel-scheduler name:scheduler]) (push) Successful in 4m9s
Build docker and publish / deploy (push) Successful in 41s
Build docker and publish / notify (push) Successful in 2s
配置信息
2026-02-28 04:31:20 -08:00

59 lines
1.2 KiB
YAML

version: '3.8'
services:
# Infrastructure
mysql:
image: mysql:8.0
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: ppanel
volumes:
- mysql_data:/var/lib/mysql
# - ../sql:/docker-entrypoint-initdb.d
redis:
image: redis:7-alpine
env_file:
- ./.env
command: ["redis-server", "--appendonly", "yes", "--requirepass", "${REDIS_PASS:?REDIS_PASS is required}"]
ports:
- "6379:6379"
volumes:
- redis_data:/data
# Observability
jaeger:
image: jaegertracing/all-in-one:1.57
ports:
- "16686:16686"
- "4317:4317"
- "4318:4318"
- "14268:14268"
environment:
COLLECTOR_OTLP_ENABLED: "true"
COLLECTOR_OTLP_HTTP_HOST_PORT: "0.0.0.0:4318"
COLLECTOR_OTLP_GRPC_HOST_PORT: "0.0.0.0:4317"
prometheus:
image: prom/prometheus:v2.51.0
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:10.4.0
ports:
- "3000:3000"
environment:
GF_SECURITY_ADMIN_PASSWORD: admin
depends_on:
- prometheus
- jaeger
volumes:
mysql_data:
redis_data: