feat: add Prisma configuration file and update Dockerfile to include it
This commit is contained in:
@@ -8,6 +8,10 @@ export class PrismaService
|
||||
{
|
||||
private readonly logger = new Logger(PrismaService.name);
|
||||
|
||||
constructor() {
|
||||
super({ datasourceUrl: process.env.DATABASE_URL });
|
||||
}
|
||||
|
||||
async onModuleInit() {
|
||||
const maxAttempts = 10;
|
||||
const delayMs = 3000;
|
||||
|
||||
Reference in New Issue
Block a user