module.exports = {
  jwt: {
    secret_key: "9d6c903873c341816995a8be0355c6f0d6d471fc6aedacf50790e9b1e49c45b3",
    refresh_secret_key: "3972dc40c69327b65352ed097419213b0b75561169dba562410b85660bb1f305",
    token_expiration: "7d",
    refresh_token_expiration: "30d",
  },

  database: {
    host: process.env.MYSQL_HOST || "localhost",
    port: process.env.MYSQL_PORT || 3306,
    dialect: "mysql",
    database: process.env.MYSQL_DATABASE || "uecko",
    username: process.env.MYSQL_USER || "rodax",
    password: process.env.MYSQL_USER_PASSWORD || "rodax",
  },

  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,
    cors_origin: "*",
  },

  defaults: {
    dealer_logos_upload_path:
      "/home/rodax/Documentos/uecko-presupuestos/server/uploads/dealer-logos",
    dealer_logo_placeholder:
      "/home/rodax/Documentos/uecko-presupuestos/server/uploads/images/logo-placeholder-200x100.png",

    support: {
      from: "noreply@presupuestos.uecko.com",
      subject: "Nueva incidencia Presupuestador Uecko",
    },
  },

  admin: {
    name: "Administrador",
    email: "darranz@rodax-software.com",
    password: "123456",
    language: "es",
  },

  sample_dealer: {
    name: "Roberto",
    email: "rblanco@rodax-software.com",
    password: "123456",
    language: "en",
  },

  nodemailer: {
    brevo: {},
  },
};
