17 lines
600 B
JavaScript
17 lines
600 B
JavaScript
const glpiDbConfig = {
|
|
client: process.env.GLPI_DB_TYPE || 'mysql',
|
|
connection: {
|
|
host: process.env.GLPI_DB_HOST || 'localhost',
|
|
port: process.env.GLPI_DB_PORT ? Number(process.env.GLPI_DB_PORT) : 3306,
|
|
user: process.env.GLPI_DB_USER || 'glpi_user',
|
|
password: process.env.GLPI_DB_PASSWORD || '',
|
|
database: process.env.GLPI_DB_NAME || 'glpi_database',
|
|
charset: process.env.GLPI_DB_CHARSET || 'utf8mb4'
|
|
},
|
|
tablePrefix: process.env.GLPI_TABLE_PREFIX || ''
|
|
};
|
|
|
|
module.exports = {
|
|
// configuração do ServiceNow e outras já existentes podem permanecer
|
|
glpiDbConfig
|
|
}; |