6fc095a161b7a60e12f0bfc7527ad5b8a9a26b6e
scripts/preflight.ts validates that every required env var is set, then checks live connectivity to the database, the Better Auth adapter (instance builds + user table readable), SMTP and Immich. Prints OK/FAIL per check and exits non-zero on any failure. Run it when bringing up the box to catch missing env vars and dead connections before going live. Co-Authored-By: Claude <noreply@anthropic.com>
Languages
TypeScript
98.4%
CSS
1.3%
Shell
0.2%
Dockerfile
0.1%