Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!