services:
  cosma-qc:
    build: .
    container_name: cosma-qc
    restart: unless-stopped
    ports:
      - "3849:8000"
    volumes:
      - /home/cosma/cosma-qc-data:/var/lib/cosma-qc
      - /home/cosma/.ssh:/ssh-in:ro
    environment:
      COSMA_QC_WORKERS: |
        [
          {"host":"192.168.0.87","ssh_alias":"gpu","gpu":"RTX 3060 12GB","vram_mib":11913,"frames_dir":"/home/floppyrj45/cosma-qc-frames","lingbot_path":"/home/floppyrj45/ai-video/lingbot-map","viser_port_base":8100},
          {"host":"192.168.0.84","ssh_alias":"ml-stack","gpu":"RTX 3090 24GB","vram_mib":24576,"frames_dir":"/root/cosma-qc-frames","lingbot_path":"/root/ai-video/lingbot-map","viser_port_base":8100}
        ]
