Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

107
Vistas
dotenv multiple files for the same environment

I am trying to use multiple config files for the same environment. So far, I was doing this for one configuration file:

node -r dotenv/config index.js dotenv_config_path=/etc/secrets/env.txt

But, now I have a requirement where I have to read from multiple configuration files for the same environment.

To achieve this, I tried this command. It loads the configurations from the first file only.

node -r dotenv/config index.js dotenv_config_path=/etc/secrets/env1.txt /etc/secrets/env2.txt

Is it possible to implement this? TIA.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda