services:
  aggregator:
    # 官方镜像 (v2.0)
    image: yiwanaishare/iptv-aggregator:latest
    container_name: iptv-aggregator
    restart: unless-stopped
    ports:
      - "50086:50086"
    environment:
      # ==================== 用户自定义配置 ====================
      # 优先关键词 (如 "山西,联通", 逗号分隔)
      - PRIORITY_KEYWORDS=湖南,联通       
      
      # 自动更新间隔（小时）
      - REFRESH_INTERVAL_HOURS=12         
      
      # 时区设置
      - TZ=Asia/Shanghai                  
      
    volumes:
      # 数据持久化目录
      - ./data:/app/data
