mirror of https://github.com/statping/statping
Updated config.yml (markdown)
parent
c65a247953
commit
504acc5fb4
|
@ -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
|
||||
```
|
Loading…
Reference in New Issue