Fix: correct immich.env-example paths to match real on-disk data (UPLOAD_LOCATION, BULK_UPLOAD_LOCATION, DB_DATA_LOCATION) after 2026-08-26 incident where generic template paths were wrong
ci/woodpecker/push/deploy Pipeline failed
ci/woodpecker/push/deploy Pipeline failed
This commit is contained in:
@@ -1,11 +1,25 @@
|
|||||||
# Immich stack environment variables - EXAMPLE
|
# Immich stack environment variables - EXAMPLE
|
||||||
# Copy to immich.env and fill in actual values
|
# Copy this to immich.env (untracked, see .gitignore) and fill in
|
||||||
# Pattern C (partial): DB_PASSWORD as Docker secret (_FILE), IMMICH_KIOSK_BASICAUTH in host .env (Traefik label)
|
# IMMICH_KIOSK_BASICAUTH with a real value. Do NOT commit immich.env.
|
||||||
|
#
|
||||||
|
# Pattern C (partial): DB_PASSWORD as Docker secret (_FILE), IMMICH_KIOSK_BASICAUTH
|
||||||
|
# in host .env (Traefik label).
|
||||||
|
#
|
||||||
|
# NOTE 2026-08-26: the paths below are the REAL, confirmed-correct values for
|
||||||
|
# this homelab (verified via `docker service inspect immich_<svc> --format
|
||||||
|
# '{{json .PreviousSpec.TaskTemplate.ContainerSpec.Mounts}}'` against actual
|
||||||
|
# on-disk data). An earlier version of this file had plausible-looking but
|
||||||
|
# WRONG generic paths (/volume1/docker/immich/db, /volume1/docker/immich/uploads),
|
||||||
|
# which caused a real incident when immich.env was regenerated from this
|
||||||
|
# template without checking against the live services first. If you ever
|
||||||
|
# need to regenerate immich.env from this file, these paths should still be
|
||||||
|
# correct — but if in doubt, re-verify with the PreviousSpec command above
|
||||||
|
# before deploying.
|
||||||
|
|
||||||
IMMICH_VERSION=release
|
IMMICH_VERSION=release
|
||||||
UPLOAD_LOCATION=/volume1/docker/immich/uploads
|
UPLOAD_LOCATION=/volume1/Immich-Photos/
|
||||||
BULK_UPLOAD_LOCATION=/volume1/docker/immich/bulk-uploads
|
BULK_UPLOAD_LOCATION=/volume1/Immich-Photos/bulk-upload
|
||||||
DB_DATA_LOCATION=/volume1/docker/immich/db
|
DB_DATA_LOCATION=/volume1/docker/immich-postgresql
|
||||||
REDIS_DATA_LOCATION=/volume1/docker/immich/redis
|
REDIS_DATA_LOCATION=/volume1/docker/immich/redis
|
||||||
|
|
||||||
DB_USERNAME=immich
|
DB_USERNAME=immich
|
||||||
@@ -20,4 +34,4 @@ REDIS_DBINDEX=0
|
|||||||
IMMICH_TRUSTED_PROXIES=172.16.0.0/12
|
IMMICH_TRUSTED_PROXIES=172.16.0.0/12
|
||||||
IMMICH_TRAEFIK_HOST=immich.bryanmail.net
|
IMMICH_TRAEFIK_HOST=immich.bryanmail.net
|
||||||
IMMICH_KIOSK_HOST=immich-kiosk.bryanmail.net
|
IMMICH_KIOSK_HOST=immich-kiosk.bryanmail.net
|
||||||
IMMICH_KIOSK_BASICAUTH=user:password
|
IMMICH_KIOSK_BASICAUTH=user:changeme
|
||||||
|
|||||||
Reference in New Issue
Block a user