mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-03-14 22:30:01 +01:00
build
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
services:
|
||||
server:
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||
# devices:
|
||||
# - /dev/dri:/dev/dri
|
||||
# group_add:
|
||||
# - video
|
||||
# - 993
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
group_add:
|
||||
- video
|
||||
- 993
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
@@ -40,10 +40,10 @@ services:
|
||||
- node.role == manager
|
||||
machine-learning:
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||
# device_cgroup_rules:
|
||||
# - 'c 189:* rmw'
|
||||
# devices:
|
||||
# - /dev/dri:/dev/dri
|
||||
device_cgroup_rules:
|
||||
- 'c 189:* rmw'
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
volumes:
|
||||
- model-cache:/cache
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
|
||||
Reference in New Issue
Block a user