Gate shares behind magic-link sessions, add comments and new-photo email digests
This commit is contained in:
+18
-25
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user