Database
Updated to just use DATABASE_* in everything other than local docker.
This commit is contained in:
19 files changed
+120
-56
No files matched your search
+5
-1
@@ -1,6 +1,10 @@
|
||||
# Database (MySQL 8.0 — migrated from PostgreSQL in Phase 7, see
|
||||
# docs/phase-7-summary.md; the production host only supports MySQL).
|
||||
DATABASE_URL="mysql://user:password@localhost:3306/nextchair"
|
||||
DATABASE_HOST="localhost"
|
||||
DATABASE_PORT="3306"
|
||||
DATABASE_NAME="nextchair"
|
||||
DATABASE_USER="user"
|
||||
DATABASE_PASSWORD="password"
|
||||
# Optional: cap the connection pool (see src/lib/db/prisma.ts). Lower this
|
||||
# for a hosting provider with a small max-connections limit.
|
||||
DATABASE_CONNECTION_LIMIT="5"
|
||||
|
||||
Reference in new issue
Block a user