mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-22 16:00:19 +00:00
23 lines
828 B
YAML
23 lines
828 B
YAML
version: "3.8"
|
|
|
|
# Hardware acceleration for transcoding - Optional
|
|
# This is only needed if you want to use hardware acceleration for transcoding.
|
|
# Depending on your hardware, you should uncomment the relevant lines below.
|
|
|
|
services:
|
|
hwaccel:
|
|
devices:
|
|
- /dev/dri:/dev/dri # If using Intel QuickSync or VAAPI
|
|
# volumes:
|
|
# - /usr/lib/wsl:/usr/lib/wsl # If using VAAPI in WSL2
|
|
# environment:
|
|
# - NVIDIA_DRIVER_CAPABILITIES=all # If using NVIDIA GPU
|
|
# - LD_LIBRARY_PATH=/usr/lib/wsl/lib # If using VAAPI in WSL2
|
|
# - LIBVA_DRIVER_NAME=d3d12 # If using VAAPI in WSL2
|
|
# deploy: # Uncomment this section if using NVIDIA GPU
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - driver: nvidia
|
|
# count: 1
|
|
# capabilities: [gpu,video]
|