Restore standard Compose updates for Immich
This commit is contained in:
1 parent
84e49e8486
commit
594781f562
2 files changed
+12
-12
No files matched your search
@@ -6,19 +6,20 @@ Immich stores, organizes, and searches the homelab's photos and videos.
|
||||
|
||||
- **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
|
||||
- **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 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.
|
||||
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 Compose from `/srv/docker/immich` using:
|
||||
`sudo docker compose --env-file /srv/docker/secrets/immich/.env -f docker-compose.yml`
|
||||
Run updates from /srv/docker/immich:
|
||||
|
||||
sudo docker compose pull
|
||||
sudo docker compose up -d
|
||||
|
||||
## Dependencies and recovery
|
||||
|
||||
|
||||
Reference in new issue
Block a user