Update docs
This commit is contained in:
+8
-1
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user