From a038cb37b2f86f137b575f64ee26c662f19a3851 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Wed, 24 Sep 2025 20:24:57 -0700 Subject: [PATCH] Immich tweaks --- immich/README.md | 11 +++++++++++ immich/docker-compose.yml | 10 ++++++---- immich/sample.env | 9 +++++++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/immich/README.md b/immich/README.md index 4963e8a..0961b90 100644 --- a/immich/README.md +++ b/immich/README.md @@ -4,3 +4,14 @@ * [Documentation for env variables](https://immich.app/docs/install/environment-variables) Reverse Poxy Port: 2283 + +## Import + +1. Go the the Administrator and [External Libraries](http://localhost:8000/admin/library-management) +1. Choose the path: ```/import``` +1. Place your files in the immich-import directory. +1. run the [Job](http://localhost:8000/admin/jobs-status) External Libraries + +## Note + +If the env file doesn't work after a change, try running ```docker compose up -d --force-recreate```. diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 3e485c0..58695b1 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -1,6 +1,6 @@ services: immich-server: - image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} + image: ${IMMICH_IMAGE} # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding @@ -17,11 +17,13 @@ services: - DB_DATABASE_NAME=${IMMICH_DB_DATABASE_NAME:-immich} healthcheck: disable: false + ports: + - "8000:2283" immich-machine-learning: # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. # Example tag: ${IMMICH_VERSION:-release}-cuda - image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} + image: ghcr.io/immich-app/immich-machine-learning:release # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable @@ -31,12 +33,12 @@ services: disable: false immich-redis: - image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 + image: ${REDIS_IMAGE} healthcheck: test: redis-cli ping || exit 1 immich-postgres: - image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 + image: ${POSTGRES_IMAGE} environment: POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD:-postgrespass} POSTGRES_USER: ${IMMICH_DB_USERNAME:-postgres} diff --git a/immich/sample.env b/immich/sample.env index fdd8a0f..ff6c104 100644 --- a/immich/sample.env +++ b/immich/sample.env @@ -2,16 +2,21 @@ # documentation for env variables: https://immich.app/docs/install/environment-variables ## Global -COOKBOOK=/git/docker-compose-cookbooks #HELP: cookbooks VOL_PATH=./data TZ=America/Vancouver ## App +IMMICH_IMAGE=ghcr.io/immich-app/immich-server:release IMMICH_UPLOAD_LOCATION=./library IMMICH_DB_DATA_LOCATION=./postgres -IMMICH_VERSION=release IMMICH_DB_HOSTNAME=immich-postgres IMMICH_DB_PASSWORD=postgres IMMICH_DB_USERNAME=postgres IMMICH_DB_DATABASE_NAME=immich IMMICH_REDIS_HOSTNAME=immich-redis + +# REDIS +REDIS_IMAGE=docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 + +# POSTGRES +POSTGRES_IMAGE=docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 \ No newline at end of file