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

51 lines
1.5 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: {
2024-05-27 12:01:52 +00:00
secret_key: "9d6c903873c341816995a8be0355c6f0d6d471fc6aedacf50790e9b1e49c45b3",
refresh_secret_key: "3972dc40c69327b65352ed097419213b0b75561169dba562410b85660bb1f305",
2024-05-19 22:04:23 +00:00
token_expiration: "7d",
refresh_token_expiration: "30d",
2024-05-15 19:56:22 +00:00
},
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: "",
},
2024-05-27 12:01:52 +00:00
admin: {
name: "Administrador",
email: "darranz@rodax-software.com",
password: "123456",
2024-06-10 17:16:39 +00:00
language: "es",
2024-05-27 12:01:52 +00:00
},
2024-04-23 15:29:38 +00:00
uploads: {
2024-05-27 12:01:52 +00:00
imports: process.env.UPLOAD_PATH || "/home/rodax/Documentos/BBDD/server/uploads/imports",
documents: process.env.UPLOAD_PATH || "/home/rodax/Documentos/BBDD/server/uploads/documents",
2024-04-23 15:29:38 +00:00
},
};