add article

This commit is contained in:
2025-09-01 18:29:59 +08:00
parent 34ff6ce916
commit 5d5372e359
59 changed files with 45435 additions and 1535 deletions

View File

@@ -44,6 +44,45 @@ services:
timeout: 3s
retries: 5
# Asynq 任务监控
asynq-monitor:
image: hibiken/asynqmon:latest
container_name: tyapi-asynq-monitor
environment:
TZ: Asia/Shanghai
ports:
- "8081:8080"
command: --redis-addr=tyapi-redis:6379
networks:
- tyapi-network
depends_on:
redis:
condition: service_healthy
restart: unless-stopped
# TYAPI Worker (定时任务处理) - 开发环境
tyapi-worker:
build:
context: .
dockerfile: Dockerfile.worker
container_name: tyapi-worker-dev
environment:
TZ: Asia/Shanghai
ENV: development
REDIS_ADDR: tyapi-redis:6379
DB_HOST: tyapi-postgres
volumes:
- ./logs:/app/logs
- .:/app # 开发环境挂载代码目录
networks:
- tyapi-network
depends_on:
redis:
condition: service_healthy
postgres:
condition: service_healthy
restart: unless-stopped
# Jaeger 链路追踪
jaeger:
image: jaegertracing/all-in-one:1.70.0