Merge current features with security hardening and automatic safe initialization

This commit is contained in:
t.indorf
2026-10-09 23:29:19 +02:00
85 changed files with 13522 additions and 1326 deletions
+9 -1
View File
@@ -1,4 +1,12 @@
#!/bin/sh
set -eu
# Apply reviewed migrations separately before starting the runtime.
cd "$(dirname "$0")/.."
if [ -n "${APP_DATABASE_PASSWORD_FILE:-}" ]; then
DATABASE_URL="$(node scripts/runtime-database-url.mjs)"
export DATABASE_URL
fi
# Schema changes are applied by the maintenance image before runtime startup.
if [ -n "${NOTDIENST_JOB_SECRET:-}" ]; then
node scripts/notdienst-alarm-worker.mjs &
fi
exec node server.js