Immich

Immich stores, organizes, and searches the homelab's photos and videos.

Deployment layout

  • Compose: /srv/docker/immich/docker-compose.yml
  • Static configuration/source: /srv/docker/immich/hwaccel.ml.yml and /srv/docker/immich/hwaccel.transcoding.yml
  • Non-secret environment: ML logging and model revision are inline in Compose; version and other environment settings are supplied through the protected central environment
  • Secrets: /srv/docker/secrets/immich/.env
  • NVMe application state: /srv/appdata/immich/postgres, /srv/appdata/immich/redis, and /srv/appdata/immich/model-cache
  • Bulk HDD data: /data/Data1/immich/library, mounted at /data
  • Other mounts: /etc/localtime read-only; /dev/dri device passthrough for VAAPI transcoding and OpenVINO inference

Secrets are never committed to this repository. The central environment is supplied to the server and ML services and is also loaded explicitly by Compose for version and database-variable interpolation. Required variables include IMMICH_VERSION, DB_PASSWORD, DB_USERNAME, and DB_DATABASE_NAME.

Run Compose from /srv/docker/immich using: sudo docker compose --env-file /srv/docker/secrets/immich/.env -f docker-compose.yml

Dependencies and recovery

  • Networks/dependencies: external npm_proxy, with the server at 192.168.97.19; project bridge immich_internal with MTU 1420; PostgreSQL, Valkey, machine learning, mounted Data1 storage, and Intel GPU access
  • Back up: the database and /data/Data1/immich/library, the protected central environment, and deployment files. Preserve Valkey state during migration. Database backups do not contain photos or videos; verify independent backup coverage and restore testing.
  • Re-creatable: container images and downloaded ML models; thumbnails and encoded videos can be regenerated from originals and a consistent database
S
Description
Immich stores, organizes, and searches the homelab's photos and videos.
https://immich.app
Readme
43 KiB
0 Stars 1 Watchers 0 Forks