noot
All checks were successful
commit-tag / commit-tag-image (push) Successful in 3m53s

This commit is contained in:
a 2025-02-26 23:29:26 -06:00
parent 3bb8fb9287
commit 934414cbe8
No known key found for this signature in database
GPG Key ID: 2F22877AA4DFDADB
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ const schemaConfig = {
PG_PASSWORD: z.string().optional(), PG_PASSWORD: z.string().optional(),
PG_DATABASE: z.string().optional(), PG_DATABASE: z.string().optional(),
PG_PORT: z.number().int().optional(), PG_PORT: z.number().int().optional(),
PG_SSLMODE: z.string().optional(),
}; };

View File

@ -17,6 +17,7 @@ container.bind({
user: config.PG_USER, user: config.PG_USER,
password: config.PG_PASSWORD, password: config.PG_PASSWORD,
db: config.PG_DATABASE, db: config.PG_DATABASE,
ssl: (config.PG_SSLMODE as any) || 'prefer',
...opts, ...opts,
}) })
}, },