chore: Update docker-compose.yml for accelerated transcoding using vaapi

This commit is contained in:
2024-09-06 12:49:26 +02:00
parent 4c4d0e0563
commit 29496bdebc
3 changed files with 55 additions and 29 deletions

View File

@@ -12,9 +12,9 @@ services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
extends:
file: hwaccel.transcoding.yml
service: vaapi # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/usr/src/app/upload
@@ -74,3 +74,4 @@ services:
volumes:
model-cache:
postgres: