Presupuestador_web/server/src/config/environments/development.ts

50 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-04-23 15:29:38 +00:00
module.exports = {
2024-05-15 19:56:22 +00:00
jwt: {
secret_key:
"9d6c903873c341816995a8be0355c6f0d6d471fc6aedacf50790e9b1e49c45b3",
refresh_secret_key:
"3972dc40c69327b65352ed097419213b0b75561169dba562410b85660bb1f305",
token_expiration: "15m",
refresh_token_expiration: "7d",
},
2024-04-23 15:29:38 +00:00
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",
},
};