Reset history to current sanitized state

This commit is contained in:
smileBeda committed 2026-10-23 16:43:46 +00:00
commit d01189f4cb
5 files changed
+221

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# 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