Gate shares behind magic-link sessions, add comments and new-photo email digests

This commit is contained in:
zyphlar
2026-10-19 15:10:57 -07:00
parent c8d8dc9dbc
commit f598200e24
34 changed files with 3387 additions and 375 deletions
+18 -25
View File
@@ -1,7 +1,8 @@
services:
immich-public-proxy:
image: alangrainger/immich-public-proxy:latest
container_name: immich-public-proxy
immich-magic-proxy:
build: .
image: immich-magic-proxy:latest
container_name: immich-magic-proxy
restart: always
ports:
- "3000:3000"
@@ -10,32 +11,24 @@ services:
- ALL
security_opt:
- no-new-privileges
volumes:
# Recipients, sessions, comments and notification state. Back this up.
# The container runs as uid 1000, which must be able to write here.
- ./data:/data
environment:
PUBLIC_BASE_URL: https://your-proxy-url.com
IMMICH_URL: http://your-internal-immich-server:2283
# Turns on the /admin console, where you add albums and recipients
ADMIN_PASSWORD: change-me-to-something-long
# Email for invitations and new-photo notifications. Either a URL...
SMTP_URL: smtp://user:password@smtp.example.com:587
# ...or SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS (and SMTP_SECURE=true for port 465)
MAIL_FROM: "Our photos <photos@example.com>"
SITE_NAME: Our photos
# Notifications go out at this hour, in this timezone
DIGEST_HOUR: 8
TZ: Etc/UTC
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