module.exports = {
  jwt: {
    secret_key: "4b8f404c9c2f47e3ad47a8dfc3242c98f7d20c2bc52e2f43f9c869f70455f7c6",
    refresh_secret_key: "b9a6f1c82fda4474bcbb5eaf9f6a9837ed82bf16a6f9dc56b12e86f7d75e384b",
    token_expiration: "7d",
    refresh_token_expiration: "30d",
  },

  database: {
    host: process.env.MYSQL_HOST || "mariadb",
    port: process.env.MYSQL_PORT || 3306,
    dialect: "mysql",
    database: process.env.MYSQL_DATABASE || "uecko",
    username: process.env.MYSQL_USER || "uecko",
    password: process.env.MYSQL_USER_PASSWORD || "u8Ax5Nw3%sjd",
  },

  server: {
    hostname: process.env.HOSTNAME || "127.0.0.1",
    port: process.env.PORT || 3001,
    cors_origin: "https://presupuestos.uecko.com",
  },

  defaults: {
    dealer_logos_upload_path: "/api/uploads/dealer-logos",
    dealer_logo_placeholder: "/api/uploads/images/logo-placeholder-200x100.png",

    support: {
      from: "no-reply@presupuestos.uecko.com",
      to: "dev@presupuestos.uecko.com",
    },
  },

  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: {
      host: "smtp-relay.brevo.com",
      port: 587,
      secure: false,
      auth: {
        user: "7d0c4e002@smtp-brevo.com",
        pass: "VOqwt0gBdNPhr781",
      },
    },
  },
};
