mirror of https://github.com/statping/statping
Updated Config with .env File (markdown)
parent
5dc9cb0fbd
commit
7d49a760fa
|
@ -1,6 +1,6 @@
|
|||
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.
|
||||
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. You can pass in these environment variables without requiring a .env file.
|
||||
|
||||
## `.env` File
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue