mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
1646393163
This commit is contained in:
@ -25,6 +25,7 @@ const validationSchema = Joi.object({
|
||||
POSTGRES_USERNAME: Joi.string().required(),
|
||||
POSTGRES_PASSWORD: Joi.string().required(),
|
||||
POSTGRES_DATABASE: Joi.string().required(),
|
||||
POSTGRES_SSL_CERT: Joi.string().allow(''),
|
||||
|
||||
// Auth
|
||||
JWT_SECRET: Joi.string().required(),
|
||||
|
||||
@ -6,5 +6,5 @@ export default registerAs('postgres', () => ({
|
||||
username: process.env.POSTGRES_USERNAME,
|
||||
password: process.env.POSTGRES_PASSWORD,
|
||||
database: process.env.POSTGRES_DATABASE,
|
||||
certificate: process.env.CA_CERT,
|
||||
certificate: process.env.POSTGRES_SSL_CERT,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user