Files
immich-magic-proxy/docker-compose.yml
T
Alan Grainger c739e931ea Update docs
2026-10-17 07:26:43 +13:00

42 lines
1.2 KiB
YAML

services:
immich-public-proxy:
image: alangrainger/immich-public-proxy:latest
container_name: immich-public-proxy
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
healthcheck:
test: curl -sf -m 4 http://localhost:3000/share/healthcheck -o /dev/null || exit 1
start_period: 10s
timeout: 5s
# Optional: let visitors send photos back to Immich.
# Uncomment this service and see https://docs.ipp.nz/visitor-uploads
#
# ipp-upload:
# image: alangrainger/immich-public-proxy-upload:latest
# container_name: ipp-upload
# 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 # IPP's URL, not this container's
# healthcheck:
# test: curl -sf -m 4 http://localhost:3000/healthcheck -o /dev/null || exit 1
# start_period: 10s
# timeout: 5s