Skip to content

Profile specific environment variable #73

Closed
@mayanand

Description

@mayanand

This library is awesome and I am planning to use it in my application. I am wondering if I could suggest an enhancement which allows depoyment specific configuration variables using this library.

I am proposing to allow multiple .env files such as

  • .env : default file that contains configuration that is common across different deployment environments
  • .env.stage: contains configuration specific to stage deployment. For ex. URL for stage DB
  • .env.production: contains configuration specific to production deployment. For ex, URL for production DB

This is similar to profile specific configuration that Spring allows. Link here

What do you guys think about it. I am happy to raise a PR for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions