diff --git a/CommonServer/.env b/CommonServer/.env index d3ba17d3f9..5b7554b6e6 100644 --- a/CommonServer/.env +++ b/CommonServer/.env @@ -1,5 +1,5 @@ CLUSTER_KEY=cluster-test -DATABASE_PORT=5400 +DATABASE_PORT=5432 DATABASE_USERNAME=postgres DATABASE_PASSWORD=postgres DATABASE_NAME=oneuptimedb diff --git a/CommonServer/Infrastructure/PostgresDatabase.ts b/CommonServer/Infrastructure/PostgresDatabase.ts index 511bd60be9..a8cf81ea83 100644 --- a/CommonServer/Infrastructure/PostgresDatabase.ts +++ b/CommonServer/Infrastructure/PostgresDatabase.ts @@ -59,7 +59,6 @@ export default class Database { dataSourceOptions: DataSourceOptions ): Promise { try { - logger.info(JSON.stringify(dataSourceOptions)); const PostgresDataSource: DataSource = new DataSource( dataSourceOptions ); diff --git a/CommonServer/Utils/Logger.ts b/CommonServer/Utils/Logger.ts index 1d9806d9fb..55386045ee 100644 --- a/CommonServer/Utils/Logger.ts +++ b/CommonServer/Utils/Logger.ts @@ -2,7 +2,6 @@ import { createLogger, format, transports } from 'winston'; const { combine, timestamp, errors, colorize, cli } = format; - const logger = createLogger({ format: combine( colorize(), diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 32a8f08c0c..030c53dc51 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -332,6 +332,10 @@ services: - redis - postgres - mail + links: + - redis + - postgres + - mail volumes: - ./Identity:/usr/src/app # Use node modules of the container and not host system.