diff --git a/src/app.module.ts b/src/app.module.ts index 1b5db1f..f4aac8e 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -11,13 +11,13 @@ import { Quote } from './random-quote/quote.entity'; imports: [ TypeOrmModule.forRoot({ type: 'postgres', - host: 'host.docker.internal', + host: '127.0.0.1', port: 5432, username: 'postgres', // Replace with your PostgreSQL username password: 'wai123!', // Replace with your PostgreSQL password database: 'happiness-postgres', // Replace with your database name entities: [Quote], - synchronize: true, // Only for development, set to false in production + synchronize: false, }), RandomQuoteModule ],