Add hwaccel.transcoding.yml — hardware-accelerated transcoding config (quicksync active)
ci/woodpecker/push/woodpecker Pipeline was canceled
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
@@ -0,0 +1,60 @@
|
|||||||
|
# Configurations for hardware-accelerated transcoding
|
||||||
|
|
||||||
|
# If using Unraid or another platform that doesn't allow multiple Compose files,
|
||||||
|
# you can inline the config for a backend by copying its contents
|
||||||
|
# into the immich-microservices service in the docker-compose.yml file.
|
||||||
|
|
||||||
|
# See https://immich.app/docs/features/hardware-transcoding for more info on using hardware transcoding.
|
||||||
|
|
||||||
|
services:
|
||||||
|
# cpu: {}
|
||||||
|
|
||||||
|
# nvenc:
|
||||||
|
# deploy:
|
||||||
|
# resources:
|
||||||
|
# reservations:
|
||||||
|
# devices:
|
||||||
|
# - driver: nvidia
|
||||||
|
# count: 1
|
||||||
|
# capabilities:
|
||||||
|
# - gpu
|
||||||
|
# - compute
|
||||||
|
# - video
|
||||||
|
|
||||||
|
quicksync:
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
hostname: immich-transcode
|
||||||
|
networks:
|
||||||
|
- traefik_backend
|
||||||
|
|
||||||
|
# rkmpp:
|
||||||
|
# security_opt:
|
||||||
|
# - systempaths=unconfined
|
||||||
|
# - apparmor=unconfined
|
||||||
|
# group_add:
|
||||||
|
# - video
|
||||||
|
# devices:
|
||||||
|
# - /dev/rga:/dev/rga
|
||||||
|
# - /dev/dri:/dev/dri
|
||||||
|
# - /dev/dma_heap:/dev/dma_heap
|
||||||
|
# - /dev/mpp_service:/dev/mpp_service
|
||||||
|
|
||||||
|
# vaapi:
|
||||||
|
# devices:
|
||||||
|
# - /dev/dri:/dev/dri
|
||||||
|
|
||||||
|
# vaapi-wsl:
|
||||||
|
# devices:
|
||||||
|
# - /dev/dri:/dev/dri
|
||||||
|
# volumes:
|
||||||
|
# - /usr/lib/wsl:/usr/lib/wsl
|
||||||
|
# environment:
|
||||||
|
# - LD_LIBRARY_PATH=/usr/lib/wsl/lib
|
||||||
|
# - LIBVA_DRIVER_NAME=d3d12
|
||||||
|
|
||||||
|
networks:
|
||||||
|
postgresql_db-backend:
|
||||||
|
external: true
|
||||||
|
traefik_backend:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user