Yup, following that I made the following changes (in bold) to my docker compose file I am deploying as a stack in portainer:
immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
** extends:
file: hwaccel.yml
service: hwaccel**
command: [ "start.sh", "microservices" ]
volumes:
${UPLOAD_LOCATION}:/usr/src/app/upload
env_file:
stack.env
depends_on:
redis
database
typesense
restart: always
** 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]