feat(media): primary media storage, growth goals, retention and delivery tools
CI / build (push) Has been cancelled
CI / build (push) Has been cancelled
Event photos and videos are now stored only on the NFS/local share named in Settings -> Media storage. Uploads, photo editing, video processing and the per-event filing step refuse to run until that share is configured and writable, so nothing is silently written inside the container. Video originals, renditions, posters and sidecars share one folder on the share. Also adds volunteer growth goals with a mentor queue, an admin retention and storage sweep with a cron entry point, cached gallery thumbnails with per-folder ZIP downloads, a server-rendered booth-sheet PDF, and in-app confirm/release for every upcoming assignment. Service reminders now ignore the one-off event reminder rule, which had been queueing an extra bogus reminder for each published service. Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
+10
-5
@@ -46,13 +46,18 @@ services:
|
||||
# Dev deployments write messages here; a named volume makes them
|
||||
# inspectable (`docker compose exec app ls /tmp/outbox`).
|
||||
OUTBOX_DIR: /tmp/outbox
|
||||
# Training attachments. Metadata is in Postgres; bytes live here.
|
||||
# Training attachments only. Metadata is in Postgres; bytes live here.
|
||||
# Original event photos and videos require the media storage share below
|
||||
# and are blocked
|
||||
# (with an in-app warning) until it is configured and writable.
|
||||
UPLOAD_DIR: /tmp/uploads
|
||||
# Archive destination inside the container for finished event photos and
|
||||
# every video's untouched camera original. For NFS, mount the export on the
|
||||
# Docker host, set MEDIA_ARCHIVE_DIR to that host path, and restart:
|
||||
# Primary storage inside the container for original event photos and videos.
|
||||
# For NFS, mount the export on the Docker host, set MEDIA_ARCHIVE_DIR to
|
||||
# that host path, and restart:
|
||||
# MEDIA_ARCHIVE_DIR=/mnt/nfs/glenloch docker compose up -d
|
||||
# The default is a local named volume for development.
|
||||
# Then set the share name and folder in Settings → Media storage. The
|
||||
# default named volume exists only so the stack boots; it is not accepted
|
||||
# as media storage once the app checks the configured share.
|
||||
ARCHIVE_DIR: /archive
|
||||
NFS_SHARE: ${NFS_SHARE:-}
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user