services:
  doctate-whisper:
    image: doctate-whisper:latest
    container_name: doctate-whisper
    environment:
      - WHISPER_MODEL=large-v3
      - WHISPER_COMPUTE_TYPE=float16
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
    volumes:
      - /opt/stacks/doctate-whisper/models:/models
    ports:
      - "9001:9001"
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    restart: unless-stopped
