db-migrate / db-migrate/node-db-migrate
Environment variables in config file
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
I have separate config json files for dev and prod, using the format
``` javascript
{
"user": USER,
"password": PASSWORD,
"database": DATABASE_NAME
}
```
Using the command `db-migrate up --config config/production.json -e prod` how would I reference USER and PASSWORD from production.json in my database.json config file?
##
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14570401-environment-variables-in-config-file?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).
Contributor guide
Assessment
This issue has not been assessed yet.