Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for default values in .env #49

Closed
ilansh opened this issue Nov 16, 2017 · 1 comment
Closed

Support for default values in .env #49

ilansh opened this issue Nov 16, 2017 · 1 comment

Comments

@ilansh
Copy link

ilansh commented Nov 16, 2017

Would it be possible to support syntax of default values in .env files?
As in

DB_HOST=${DB_HOST:-127.0.0.1:3306}

This can prove very helpful for my usage pattern.

@ashald
Copy link
Owner

ashald commented Mar 7, 2018

This will not be compatible with the underlying .env file spec, to the best of my knowledge, but I'm considering adding an option to allow variables expansion. Please follow #16 for updates.

@ashald ashald closed this as completed Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants