38 lines
712 B
JavaScript
38 lines
712 B
JavaScript
require('dotenv').config();
|
|
|
|
module.exports = {
|
|
development: {
|
|
use_env_variable: 'TIMESCALEDB_URL',
|
|
dialect: 'postgres',
|
|
protocol: 'postgres',
|
|
dialectOptions: {
|
|
ssl: {
|
|
require: true,
|
|
rejectUnauthorized: false,
|
|
},
|
|
},
|
|
},
|
|
test: {
|
|
use_env_variable: 'TIMESCALEDB_URL',
|
|
dialect: 'postgres',
|
|
protocol: 'postgres',
|
|
dialectOptions: {
|
|
ssl: {
|
|
require: true,
|
|
rejectUnauthorized: false,
|
|
},
|
|
},
|
|
},
|
|
production: {
|
|
use_env_variable: 'TIMESCALEDB_URL',
|
|
dialect: 'postgres',
|
|
protocol: 'postgres',
|
|
dialectOptions: {
|
|
ssl: {
|
|
require: true,
|
|
rejectUnauthorized: false,
|
|
},
|
|
},
|
|
},
|
|
};
|