Updated Config with .env File (markdown)

master
Hunter Long 2018-07-06 11:38:13 -07:00
parent 943164e850
commit adac62d251
1 changed files with 4 additions and 1 deletions

@ -1,5 +1,7 @@
It may be useful to load your environment using a `.env` file in the root directory of your Statup server. The .env file will be automatically loaded on startup and will overwrite all values you have in config.yml. It may be useful to load your environment using a `.env` file in the root directory of your Statup server. The .env file will be automatically loaded on startup and will overwrite all values you have in config.yml.
If you have the `DB_CONN` environment variable set Statup will bypass all values in config.yml and will require you to have the other DB_* variables in place.
###### `.env` File ###### `.env` File
```bash ```bash
DB_CONN=postgres DB_CONN=postgres
@ -21,4 +23,5 @@ IS_DOCKER=false
IS_AWS=false IS_AWS=false
SASS=/usr/local/bin/sass SASS=/usr/local/bin/sass
CMD_FILE=/bin/bash CMD_FILE=/bin/bash
``` ```
This .env file will include additional variables in the future, subscribe to this repo to keep up-to-date with changes and updates.