wip: checkpoint host working tree

Login-page gate, notification outbox dispatcher and cron, assignment
proposals/responses, coverage and training-guide updates, plus the generated
training PDFs. Checkpointed from the host before merging the invite-link fix.
This commit is contained in:
2026-11-22 17:42:51 +00:00
parent fac9b96cca
commit 55239ef1e9
41 changed files with 6873 additions and 455 deletions
+19
View File
@@ -91,6 +91,25 @@ services:
max-file: "3"
restart: unless-stopped
# Notification dispatcher. The app only queues mail in the outbox; this loop
# drains it through the CRON_SECRET endpoint, so assignment, publish and
# reminder emails go out without anyone pressing a button.
cron:
image: curlimages/curl:8.10.1
environment:
CRON_SECRET: ${CRON_SECRET:-}
depends_on:
app:
condition: service_healthy
entrypoint: ["sh", "-c"]
command:
- 'while true; do echo "cron tick"; curl -fsS --max-time 30 -H "Authorization: Bearer $$CRON_SECRET" http://app:3000/api/dev/cron/notifications || echo "notification tick failed"; echo; sleep 60; done'
restart: unless-stopped
logging:
options:
max-size: "10m"
max-file: "3"
# Advanced photo editor (Lumenroom), vendored under ./lumenroom so one clone
# and one `docker compose up -d --build` deploys both apps. Its catalog is
# temporary bridge data; originals stay on the app's media storage.