Skip to main content

config-database

Auto-generated. Do not edit manually. Run pnpm --filter @eudiplo/docs run prebuild (scripts/generate-config-docs.ts).

KeyTypeNotes
DB_TYPEstringDatabase type (default: sqlite)
DB_HOSTstringDatabase host [when DB_TYPE is {"override":true} | "sqlite" → otherwise required]
DB_PORTnumberDatabase port [when DB_TYPE is {"override":true} | "sqlite" → otherwise required]
DB_USERNAMEstringDatabase username [when DB_TYPE is {"override":true} | "sqlite" → otherwise required]
DB_PASSWORDstringDatabase password [when DB_TYPE is {"override":true} | "sqlite" → otherwise required]
DB_DATABASEstringDatabase name [when DB_TYPE is {"override":true} | "sqlite" → otherwise required]
DB_SSLbooleanEnable SSL/TLS for PostgreSQL database connections (default: false)
DB_SSL_REJECT_UNAUTHORIZEDbooleanReject PostgreSQL TLS certificates that cannot be validated against trusted CAs (default: true)
DB_SSL_CA_PATHstringPath to CA certificate file used to validate PostgreSQL TLS certificates [optional]
DB_SSL_CERT_PATHstringPath to client certificate file for PostgreSQL TLS [optional]
DB_SSL_KEY_PATHstringPath to client private key file for PostgreSQL TLS [optional]
DB_SSL_KEY_PASSPHRASEstringPassphrase for encrypted DB_SSL_KEY_PATH private key [optional]
DB_SYNCHRONIZEbooleanEnable TypeORM schema synchronization. Set to false in production after initial setup and rely on migrations instead. (default: true)
DB_MIGRATIONS_RUNbooleanRun pending database migrations automatically on startup (default: true)