41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
|
|
module.exports = {
|
||
|
|
database: {
|
||
|
|
username: "rodax",
|
||
|
|
password: "rodax",
|
||
|
|
database: "uecko",
|
||
|
|
host: process.env.HOSTNAME || "localhost",
|
||
|
|
port: 3306,
|
||
|
|
dialect: "mysql",
|
||
|
|
},
|
||
|
|
|
||
|
|
firebird: {
|
||
|
|
host: process.env.HOSTNAME || "192.168.0.133",
|
||
|
|
port: 3050,
|
||
|
|
database: "C:/Codigo/Output/Debug/Database/FACTUGES.FDB",
|
||
|
|
user: "SYSDBA",
|
||
|
|
password: "masterkey",
|
||
|
|
lowercase_keys: false, // set to true to lowercase keys
|
||
|
|
role: null, // default
|
||
|
|
pageSize: 4096, // default when creating database
|
||
|
|
retryConnectionInterval: 1000, // reconnect interval in case of connection drop
|
||
|
|
blobAsText: false, // set to true to get blob as text, only affects blob subtype 1
|
||
|
|
encoding: "UTF-8", // default encoding for connection is UTF-8 },
|
||
|
|
poolCount: 5, // opened sockets
|
||
|
|
},
|
||
|
|
|
||
|
|
server: {
|
||
|
|
hostname: process.env.HOSTNAME || "127.0.0.1",
|
||
|
|
port: process.env.PORT || 4001,
|
||
|
|
public_url: "",
|
||
|
|
},
|
||
|
|
|
||
|
|
uploads: {
|
||
|
|
imports:
|
||
|
|
process.env.UPLOAD_PATH ||
|
||
|
|
"/home/rodax/Documentos/BBDD/server/uploads/imports",
|
||
|
|
documents:
|
||
|
|
process.env.UPLOAD_PATH ||
|
||
|
|
"/home/rodax/Documentos/BBDD/server/uploads/documents",
|
||
|
|
},
|
||
|
|
};
|