feat: enable immich-machine-learning service and update model path

This commit is contained in:
lingkai5wu committed 2026-08-24 02:11:20 +08:00
1 parent 44ef585ee3
commit 09b4d0b450
1 file changed
+15 -15
+15 -15
View File
@@ -33,21 +33,21 @@ services:
memory: 512M
devices:
- /dev/dri:/dev/dri
# immich-machine-learning:
# container_name: immich-machine-learning
# image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# volumes:
# - /srv/data/immich/model-cache:/cache
# env_file:
# - .env
# restart: unless-stopped
# healthcheck:
# disable: false
# deploy:
# resources:
# limits:
# cpus: "2.0"
# memory: 4G
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
container_name: immich-machine-learning
volumes:
- /srv/fast/immich/model-cache:/cache
env_file:
- .env
restart: unless-stopped
healthcheck:
disable: false
deploy:
resources:
limits:
cpus: "2.0"
memory: 4G
database:
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
container_name: immich-postgres