-
I converted Why I always get this error whenever Immich calls ML?
AutoStart.sh docker stop Immich-Server Immich-ML Immich-PostgreSql Immich-Redis
docker rm Immich-Server Immich-ML Immich-PostgreSql Immich-Redis
docker network create immich-network
docker volume create model-cache
docker run \
--name Immich-Redis \
-v /home/laptop/.containers/Immich/redis:/data \
--restart always \
--network immich-network \
docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae \
& disown
docker run \
--name Immich-PostgreSql \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_DB=immich \
-v /home/laptop/.containers/Immich/postgresql:/var/lib/postgresql/data \
-p 5432:5432 \
--restart always \
--network immich-network \
--health-cmd "pg_isready -U postgres" \
--health-interval 10s \
--health-retries 5 \
--health-start-period 50s \
docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 \
& disown
docker run \
--name Immich-ML \
-v model-cache:/cache \
--restart always \
--memory="2G" \
--cpus="0.7" \
--network immich-network \
ghcr.io/immich-app/immich-machine-learning:release \
& disown
docker run \
--name Immich-Server \
-e TZ=Etc/UTC \
-e DB_DATABASE_NAME=postgres \
-e DB_USERNAME=postgres \
-e DB_PASSWORD=postgres \
-e DB_PORT=5432 \
-e DB_HOSTNAME=Immich-PostgreSql \
-e REDIS_HOSTNAME=Immich-Redis \
-v "/home/laptop/.containers/Immich/upload:/usr/src/app/upload" \
-v "/home/laptop/Documents/Home Memories/Misc:/usr/src/app/upload/library/homememories" \
-v "/home/laptop/Documents/School Memories/rama4mbnoimi/Misc:/usr/src/app/upload/library/schoolmemories" \
-v "/home/laptop/Documents/Home Memories/Memories:/home/homememories" \
-v "/home/laptop/Documents/School Memories/rama4mbnoimi:/home/schoolmemories" \
-p 9018:2283 \
--restart always \
--memory="2G" \
--cpus="0.7" \
--network immich-network \
ghcr.io/immich-app/immich-server:release \
& disown |
Beta Was this translation helpful? Give feedback.
Answered by
mbnoimi
Feb 8, 2025
Replies: 2 comments
-
Because you changed the hostname of the ML container |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks to @bo0tzz for pointing the missing config. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mbnoimi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to @bo0tzz for pointing the missing config.
I fix this issue from: