Updated Environment Variables (markdown)

master
Hunter Long 2020-04-14 08:41:50 -07:00
parent 98260319d6
commit 89ffa606d7
1 changed files with 4 additions and 4 deletions

@ -9,7 +9,7 @@ This page will list all environment variables that could be passed into Statping
- `GO_ENV` - Run Statping in testmode, will bypass HTTP authentication (if set as 'test')
- `REMOVE_AFTER` - Automatically delete records after time (default 3 months, '12h = 12 hours')
- `CLEANUP_INTERVAL` - Interval to check for old records (default 1 hour, '1h = 1 hour')
- `ALLOW_REPORTS` - Send Statping anonymous error reports so we can see issues (default is false)
- `ALLOW_REPORTS` - Send Statping anonymous [error reports](https://sentry.io/) so we can see issues (default is false)
### Database
- `DB_CONN` - Database connection (sqlite, postgres, mysql) **Will automatically start if set to 'sqlite'**
@ -25,13 +25,13 @@ This page will list all environment variables that could be passed into Statping
### Connection
- `BASE_PATH` - Set the base URL prefix (set to 'monitor' if URL is domain.com/monitor)
- `PREFIX` - A Prefix for each value in Prometheus /metric exporter
- `HTTP_PROXY` - Use a HTTP Proxy for HTTP Requests
- `PREFIX` - A Prefix for each value in [Prometheus /metric exporter](https://github.com/statping/statping/wiki/Prometheus-Exporter)
- `HTTP_PROXY` - Use a [HTTP Proxy](https://golang.org/pkg/net/http/#ProxyFromEnvironment) for HTTP Requests
- `AUTH_USERNAME` - HTTP Basic Authentication username
- `AUTH_PASSWORD` - HTTP Basic Authentication password
### Assets
- `SASS` - Set the absolute path to the sass binary location (find with `which sass`)
- `SASS` - Set the absolute path to the [sass](](https://sass-lang.com/) binary location (find with `which sass`)
- `USE_ASSETS` - Automatically use assets from 'assets folder' (true/false)
### Automatic Fills