From 77fd9ba0f92a04954debc64556fd037614f25900 Mon Sep 17 00:00:00 2001 From: Alan Grainger <16197738+alangrainger@users.noreply.github.com> Date: Wed, 7 Oct 2026 21:33:57 +1300 Subject: [PATCH] Update docs --- docs/kubernetes.md | 9 ++++++++- docs/upgrading.md | 13 +++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/kubernetes.md b/docs/kubernetes.md index a2915b2..d3c0590 100644 --- a/docs/kubernetes.md +++ b/docs/kubernetes.md @@ -40,11 +40,18 @@ server: main: image: repository: alangrainger/immich-public-proxy - tag: 3.3.0 # pin to the current release: https://github.com/alangrainger/immich-public-proxy/releases + tag: 4.0.0 # pin to the current release: https://github.com/alangrainger/immich-public-proxy/releases pullPolicy: IfNotPresent env: IMMICH_URL: http://immich-server-main:2283 # the in-cluster Immich service, not your public URL PUBLIC_BASE_URL: https://your-proxy-url.com + # Optional lockdown: IPP writes nothing to disk and needs no extra privileges + securityContext: + readOnlyRootFilesystem: true + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL service: immich-public-proxy: diff --git a/docs/upgrading.md b/docs/upgrading.md index 6fc435c..921f298 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -45,6 +45,11 @@ services: restart: always ports: - "3000:3000" + read_only: true + cap_drop: + - ALL + security_opt: + - no-new-privileges environment: PUBLIC_BASE_URL: https://your-proxy-url.com IMMICH_URL: http://your-internal-immich-server:2283 @@ -59,6 +64,11 @@ services: restart: always ports: - "3001:3000" + read_only: true + cap_drop: + - ALL + security_opt: + - no-new-privileges environment: IMMICH_URL: http://your-internal-immich-server:2283 PUBLIC_BASE_URL: https://your-proxy-url.com @@ -68,6 +78,9 @@ services: timeout: 5s ``` +The `read_only`, `cap_drop` and `security_opt` lines lock the containers down. They are optional: neither container +writes to disk or needs extra privileges, so both run the same with or without them. + See [Let visitors send photos back](/visitor-uploads) for the reverse proxy setup and the Immich share key. ## Immich version