This commit is contained in:
parent
3bb8fb9287
commit
934414cbe8
@ -15,6 +15,7 @@ const schemaConfig = {
|
||||
PG_PASSWORD: z.string().optional(),
|
||||
PG_DATABASE: z.string().optional(),
|
||||
PG_PORT: z.number().int().optional(),
|
||||
PG_SSLMODE: z.string().optional(),
|
||||
};
|
||||
|
||||
|
||||
|
@ -17,6 +17,7 @@ container.bind({
|
||||
user: config.PG_USER,
|
||||
password: config.PG_PASSWORD,
|
||||
db: config.PG_DATABASE,
|
||||
ssl: (config.PG_SSLMODE as any) || 'prefer',
|
||||
...opts,
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user