# 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 configuration:** image tags, ML logging, and model revision are declared directly in Compose - **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 server, ML, and PostgreSQL services load the central environment through env_file. Image tags are declared directly in docker-compose.yml. Run updates from /srv/docker/immich: sudo docker compose pull sudo docker compose up -d ## 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