services:
  aivideo:
    build: .
    working_dir: /app
    environment:
      - OPENAI_API_KEY=${OPENAI_API_KEY}
      - OPENAI_BASE_URL=${OPENAI_BASE_URL}
      - PORT=3000
    volumes:
      - ./:/app
    ports:
      - "3000:3000"
    # On macOS, use host.docker.internal to reach host services like ComfyUI.
    # Example: set app.comfy_base_url in configs/config.yaml to http://host.docker.internal:8188
