Update docs
This commit is contained in:
+8
-1
@@ -40,11 +40,18 @@ server:
|
|||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: alangrainger/immich-public-proxy
|
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
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
IMMICH_URL: http://immich-server-main:2283 # the in-cluster Immich service, not your public URL
|
IMMICH_URL: http://immich-server-main:2283 # the in-cluster Immich service, not your public URL
|
||||||
PUBLIC_BASE_URL: https://your-proxy-url.com
|
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:
|
service:
|
||||||
immich-public-proxy:
|
immich-public-proxy:
|
||||||
|
|||||||
@@ -45,6 +45,11 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
read_only: true
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges
|
||||||
environment:
|
environment:
|
||||||
PUBLIC_BASE_URL: https://your-proxy-url.com
|
PUBLIC_BASE_URL: https://your-proxy-url.com
|
||||||
IMMICH_URL: http://your-internal-immich-server:2283
|
IMMICH_URL: http://your-internal-immich-server:2283
|
||||||
@@ -59,6 +64,11 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "3001:3000"
|
- "3001:3000"
|
||||||
|
read_only: true
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges
|
||||||
environment:
|
environment:
|
||||||
IMMICH_URL: http://your-internal-immich-server:2283
|
IMMICH_URL: http://your-internal-immich-server:2283
|
||||||
PUBLIC_BASE_URL: https://your-proxy-url.com
|
PUBLIC_BASE_URL: https://your-proxy-url.com
|
||||||
@@ -68,6 +78,9 @@ services:
|
|||||||
timeout: 5s
|
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.
|
See [Let visitors send photos back](/visitor-uploads) for the reverse proxy setup and the Immich share key.
|
||||||
|
|
||||||
## Immich version
|
## Immich version
|
||||||
|
|||||||
Reference in New Issue
Block a user