Files
it_cost_dashboard/.env
T
2026-09-08 17:46:28 +08:00

16 lines
825 B
Bash

# SQLite for local dev only. Production (MySQL/RDS) config lives in .env.production
# (gitignored) and uses prisma/prod/schema.prisma — see DEPLOY.md.
DATABASE_URL="file:./dev.db"
DATABASE_PROVIDER="sqlite"
# SSO secrets are NOT stored here (this file is committed). Dev auth vars live in
# .env.local (gitignored); prod auth vars in .env.production — see .env.production.example.
# Local break-glass admin login (username/password, in addition to SSO). The
# password is intentionally EMPTY here so local login is DISABLED by default;
# set a real value in the gitignored .env.local (dev) / .env.production (prod).
# Role model: config/users.json maps SSO emails -> "admin" | "user"; unlisted
# SSO emails cannot sign in. The local admin always has the admin role.
LOCAL_ADMIN_USERNAME="admin"
LOCAL_ADMIN_PASSWORD=""