You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
365 B
TypeScript
14 lines
365 B
TypeScript
2 years ago
|
export default ({ env }) => ({
|
||
|
connection: {
|
||
|
client: 'postgres',
|
||
|
connection: {
|
||
|
host: env('DATABASE_HOST'),
|
||
|
port: env.int('DATABASE_PORT', 5432),
|
||
|
database: env('DATABASE_NAME', 'strapi'),
|
||
|
user: env('DATABASE_USERNAME', 'strapi'),
|
||
|
password: env('DATABASE_PASSWORD'),
|
||
|
ssl: env.bool('DATABASE_SSL', false),
|
||
|
},
|
||
|
},
|
||
|
});
|