mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
⭐feat(infra): Use a shared VPC (#218)
## Description The scope of this PR is to add a shared VPC for everyone on the team.
This commit is contained in:
@@ -6,11 +6,11 @@ import { drizzle } from "drizzle-orm/postgres-js";
|
||||
const client = postgres({
|
||||
idle_timeout: 30000,
|
||||
connect_timeout: 30000,
|
||||
host: Resource.Postgres.host,
|
||||
database: Resource.Postgres.database,
|
||||
user: Resource.Postgres.username,
|
||||
password: Resource.Postgres.password,
|
||||
port: Resource.Postgres.port,
|
||||
host: Resource.Database.host,
|
||||
database: Resource.Database.database,
|
||||
user: Resource.Database.username,
|
||||
password: Resource.Database.password,
|
||||
port: Resource.Database.port,
|
||||
max: parseInt(process.env.POSTGRES_POOL_MAX || "1"),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user