mirror of https://github.com/statping/statping
Updated Environment Variables (markdown)
parent
6cafab8c8c
commit
7e58a7e192
|
@ -2,7 +2,7 @@ This page will list all environment variables that could be passed into Statping
|
|||
|
||||
### Statping Server
|
||||
- `PORT` - Set the outgoing port for the HTTP server (or use --port, default: 8080)
|
||||
- `IP` - Bind a specific IP address to the HTTP server (or use --ip)
|
||||
- `HOST` - Bind a specific IP address to the HTTP server (or use --ip)
|
||||
- `VERBOSE` - Display more logs in verbose mode. (1 - 4)
|
||||
- `STATPING_DIR` - Set a absolute path for the root path of Statping server (logs, assets, SQL db)
|
||||
- `DISABLE_LOGS` - Disable viewing and writing to the log file (default is false)
|
||||
|
@ -30,7 +30,13 @@ This page will list all environment variables that could be passed into Statping
|
|||
- `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
|
||||
|
||||
- `DISABLE_HTTP` - Disable HTTP server if set to true
|
||||
- `DISABLE_COLORS` - Disable colors in terminal logs if set to true
|
||||
- `DEBUG` - Enables pprof golang debugging on port 9090
|
||||
- `LOGS_MAX_COUNT` - Maximum amount of log files (defaults to 5)
|
||||
- `LOGS_MAX_AGE` - Maximum age for log files (defaults to 28 days)
|
||||
- `LOGS_MAX_SIZE` - Maximum size for log files (defaults to 16 MB)
|
||||
- `LANGUAGE` - Language to use (en, fr, ru, more to come...)
|
||||
### Assets
|
||||
- `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)
|
||||
|
|
Loading…
Reference in New Issue