# ─── Database (SQLite — single-file, no external DB server) ─────────────────── # Local dev: file:./dev.db (created under prisma/) # Container: file:/data/qms.db (set in docker-compose; /data is the mapped Unraid volume) DATABASE_URL="file:./dev.db" # ─── App ────────────────────────────────────────────────────────────────────── # Set this to the LAN URL/hostname the app is reached at on Unraid (used in notification links). NEXT_PUBLIC_APP_URL="http://10.2.0.x:3000" # ─── First admin (auto-created on container start only if no admin exists) ──── ADMIN_EMAIL="admin@yourcompany.com" ADMIN_PASSWORD="change-me-on-first-login" ADMIN_NAME="Administrator" # ─── Email (SMTP) — optional; emails are skipped entirely when SMTP_HOST unset ─ # SMTP_HOST="smtp.resend.com" # SMTP_PORT="587" # SMTP_USER="resend" # SMTP_PASS="re_your_api_key_here" # EMAIL_FROM="qms@yourcompany.com"