mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 02:14:54 +01:00
build
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user