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