import { TypeOrmModuleOptions } from "@nestjs/typeorm";
import * as config from 'config'

//const dbConfig = config.get('db');

export const typeOrmConfig: TypeOrmModuleOptions = {
    type:'postgres',
    host:'3.110.164.8',
    port:5432,
    username:'postgres',
    password:'inv123',
    database:'scb-tender',
    entities: [__dirname + '/../**/*.entity.{js,ts}'],
    synchronize:true,
    logging:false

};