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.
cvm/knexfile.js

19 lines
317 B
JavaScript

'use strict';
const postgresqlSocketUrl = require("postgresql-socket-url");
const config = require("./config.json");
module.exports = {
client: "pg",
connection: {
connectionString: postgresqlSocketUrl({
socketPath: "/run/postgresql",
database: config.database
})
},
pool: {
min: 2,
max: 10
}
};