From d2aeeeaaf77eeb98aac4a1c29dc0ca572f37b498 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Sat, 16 Mar 2019 13:58:21 -0700 Subject: [PATCH] Updated config.yml (markdown) --- config.yml.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.yml.md b/config.yml.md index 73395de..d62ea2a 100644 --- a/config.yml.md +++ b/config.yml.md @@ -13,3 +13,7 @@ The `config.yml` file contains all of the Statping database settings and API key The `location` setting will contain core files/folders for Statping like, `logs`, `assets`, and should contain the `config.yml` file. +## Using Environment Variables instead of `config.yml` +You technically don't need this `config.yml` file to run Statping. You can also run the Statping server by including environment variables when you start the server. You can view all the available variables by viewing the [Config with .env](https://github.com/hunterlong/statping/wiki/Config-with-.env-File) Wiki page. + +**Statping will auto run with environment variables if** `DB_HOST` **is set!**