This commit is contained in:
2025-12-01 19:37:17 +01:00
parent b7bda89eac
commit 83075b5d70

View File

@@ -1,9 +1,11 @@
services: services:
immich-server: immich-server:
image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
extends: # devices:
file: hwaccel.transcoding.yml # - /dev/dri:/dev/dri
service: ${HW_MODE1:-vaapi} # group_add:
# - video
# - 993
volumes: volumes:
- ${UPLOAD_LOCATION}:/data - ${UPLOAD_LOCATION}:/data
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
@@ -38,11 +40,13 @@ services:
- node.role == manager - node.role == manager
immich-machine-learning: immich-machine-learning:
image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
extends: # device_cgroup_rules:
file: hwaccel.ml.yml # - 'c 189:* rmw'
service: ${HW_MODE2:-openvino} # devices:
# - /dev/dri:/dev/dri
volumes: volumes:
- model-cache:/cache - model-cache:/cache
- /dev/bus/usb:/dev/bus/usb
env_file: env_file:
- .env - .env
healthcheck: healthcheck: