services:
  comfyui:
    build:
      context: .
      dockerfile: Dockerfile.amd
    container_name: comfyui-audio
    ports:
      - "8188:8188"
    volumes:
      - ./models:/app/ComfyUI/models
      - ./output:/app/ComfyUI/output
      - ./input:/app/ComfyUI/input
      - ./custom_nodes:/app/ComfyUI/custom_nodes
    devices:
      - /dev/kfd
      - /dev/dri
    group_add:
      - video
    environment:
      - HSA_OVERRIDE_GFX_VERSION=11.0.0
    restart: unless-stopped
