From 83075b5d70736d999f1461d73e915c410f77a777 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 1 Dec 2025 19:37:17 +0100 Subject: [PATCH] build --- __swarm/immich/immich-swarm.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/__swarm/immich/immich-swarm.yml b/__swarm/immich/immich-swarm.yml index 8700f8c..2d71558 100644 --- a/__swarm/immich/immich-swarm.yml +++ b/__swarm/immich/immich-swarm.yml @@ -1,9 +1,11 @@ services: immich-server: image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} - extends: - file: hwaccel.transcoding.yml - service: ${HW_MODE1:-vaapi} + # devices: + # - /dev/dri:/dev/dri + # group_add: + # - video + # - 993 volumes: - ${UPLOAD_LOCATION}:/data - /etc/localtime:/etc/localtime:ro @@ -38,11 +40,13 @@ services: - node.role == manager immich-machine-learning: image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} - extends: - file: hwaccel.ml.yml - service: ${HW_MODE2:-openvino} + # device_cgroup_rules: + # - 'c 189:* rmw' + # devices: + # - /dev/dri:/dev/dri volumes: - model-cache:/cache + - /dev/bus/usb:/dev/bus/usb env_file: - .env healthcheck: