Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By MSadiq
Backend Engineer
I know this seems like a redundant question, but I’ve checked others like it and non of them helped.
I am trying to seed my DO managed Postgres DB with some data, while the seeder works perfectly fine in development I kept getting this timeout error when trying to do the same in production. Below is what my config looks like with nestJs and typeorm
{
type: 'postgres',
host: DB_HOST,
port: +DB_PORT,
username: DB_USERNAME,
password: DB_PASSWORD,
database: DB_NAME,
entities: [__dirname + '/../**/*.entity.{js,ts}'],
ssl:
process.env.NODE_ENV === 'prod'
? {
requestCert: true,
rejectUnauthorized: true,
ca: fs.readFileSync(`${process.cwd()}/ca-certificate.crt`).toString(),
}
: undefined,
autoLoadEntities: true,
}
Any form of help is welcome, thank you
Aakash Singh
Aakash Singh
Frank Tufano
fullammo
4ae272398ee6445a9bf73f4cd632b5
eddie
Taha Aziz Ben Ali
Telmo Valverde
Alexandre Herlinvaux
52d4eff26a544eefb189e2005836b2