mirror of https://github.com/statping/statping
Updated Config with .env File (markdown)
parent
943164e850
commit
adac62d251
|
@ -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.
|
||||
|
||||
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
|
||||
```bash
|
||||
DB_CONN=postgres
|
||||
|
@ -21,4 +23,5 @@ IS_DOCKER=false
|
|||
IS_AWS=false
|
||||
SASS=/usr/local/bin/sass
|
||||
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.
|
Loading…
Reference in New Issue