Hacker News new | ask | show | jobs
by abhchand 2432 days ago
For reasons like and to avoid confusion I always name my environment file something specific like `.env.development` or `.env.dockercompose`

Any system that reads `.env` files usually allows some way to specify the exact file to be read.

1 comments

Huh, I wasn't aware of this! If nothing else, I like the idea of separate files for separate concerns.