# Intel / AMD GPU support for hardware-accelerated transcoding (VA-API / QSV / Vulkan).
# Passes Linux Direct Rendering Infrastructure (DRI) render nodes into the container.
#
# Usage:
#   docker compose -f docker-compose.yml -f docker-compose.dri.yml up -d
#
# If you run the container as a non-root user, also add the host's `video` and
# `render` group IDs under `group_add`.
services:
  rust-srec:
    devices:
      - /dev/dri:/dev/dri
