services:
  airtosocks:
    build: .
    container_name: airtosocks
    restart: unless-stopped
    ports:
      - "8080:8080"
      - "10000-10999:10000-10999"
    volumes:
      - ./config:/app/config
      - ./data:/app/data
      - ./bin:/app/bin
    environment:
      - TZ=Asia/Shanghai
    # Web 管理界面默认端口
    #   http://127.0.0.1:8080
    # SOCKS5 端口池默认映射
    #   10000-10999
    # 可选：修改 Web 端口和检查间隔
    # command: python main.py
    # 在 config.yaml 中配置:
    #   port: 8080
    #   check_interval: 600
