From 73d78db7155e51bb193a643f280606047a06bb5b Mon Sep 17 00:00:00 2001 From: ducoterra Date: Fri, 6 Feb 2026 20:18:19 -0500 Subject: [PATCH] add docker immich docs --- active/podman_immich/immich.md | 19 ++++++++++++++++--- active/podman_immich/release-compose.yaml | 6 +++--- active/podman_immich/release-env | 4 ++-- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/active/podman_immich/immich.md b/active/podman_immich/immich.md index 5b4edac..394ff2c 100644 --- a/active/podman_immich/immich.md +++ b/active/podman_immich/immich.md @@ -2,7 +2,8 @@ - [Podman immich](#podman-immich) - [Setup immich Project](#setup-immich-project) - - [Install immich](#install-immich) + - [Install immich with Docker](#install-immich-with-docker) + - [Install immich with Rootless Podman](#install-immich-with-rootless-podman) - [Create the immich user](#create-the-immich-user) - [Write the immich compose spec](#write-the-immich-compose-spec) - [A Note on Volumes](#a-note-on-volumes) @@ -30,7 +31,19 @@ - [ ] Expose the quadlet service - [ ] Install a backup service and timer -## Install immich +## Install immich with Docker + + + +```bash +scp active/podman_immich/release-compose.yaml immich: +scp active/podman_immich/release-env immich:.env + +mkdir /srv/immich +docker compose -f release-compose.yaml up -d +``` + +## Install immich with Rootless Podman ### Create the immich user @@ -157,7 +170,7 @@ ssh immich systemctl --user restart immich npm i -g @immich/cli # immich login [url] [key] -immich login http://192.168.1.216:2283/api HFEJ38DNSDUEG +immich login http://192.168.1.216:2283/api # Check the upload immich upload --dry-run --recursive directory/ diff --git a/active/podman_immich/release-compose.yaml b/active/podman_immich/release-compose.yaml index e4e0f96..dea76f0 100644 --- a/active/podman_immich/release-compose.yaml +++ b/active/podman_immich/release-compose.yaml @@ -21,7 +21,7 @@ services: - ${UPLOAD_LOCATION}:/data - /etc/localtime:/etc/localtime:ro env_file: - - .env + - /root/.env ports: - '2283:2283' depends_on: @@ -42,14 +42,14 @@ services: volumes: - model-cache:/cache env_file: - - .env + - /root/.env restart: always healthcheck: disable: false redis: container_name: immich_redis - image: docker.io/valkey/valkey:8@sha256:81db6d39e1bba3b3ff32bd3a1b19a6d69690f94a3954ec131277b9a26b95b3aa + image: docker.io/valkey/valkey:9@sha256:fb8d272e529ea567b9bf1302245796f21a2672b8368ca3fcb938ac334e613c8f healthcheck: test: redis-cli ping || exit 1 restart: always diff --git a/active/podman_immich/release-env b/active/podman_immich/release-env index 6641cce..75d93ef 100644 --- a/active/podman_immich/release-env +++ b/active/podman_immich/release-env @@ -1,10 +1,10 @@ # You can find documentation for all the supported env variables at https://docs.immich.app/install/environment-variables # The location where your uploaded files are stored -UPLOAD_LOCATION=./library +UPLOAD_LOCATION=/srv/immich-data/library # The location where your database files are stored. Network shares are not supported for the database -DB_DATA_LOCATION=./postgres +DB_DATA_LOCATION=/srv/immich-db/postgres # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC