diff --git a/config.yml.md b/config.yml.md index 9475c59..29760e7 100644 --- a/config.yml.md +++ b/config.yml.md @@ -17,3 +17,15 @@ The `location` setting will contain core files/folders for Statping like, `logs` 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/statping/statping/wiki/Config-with-.env-File) Wiki page. **Statping will auto run with environment variables if** `DB_CONN` **is set!** + +## Example `config.yml` +```yaml +connection: mysql +host: localhost +user: root +password: password123 +database: root +port: 3306 +api_secret: apisecretcanbeset +location: /app/statping +``` \ No newline at end of file