mirror of https://github.com/statping/statping
Updated Environment Variables (markdown)
parent
f712a17394
commit
4449801ec6
|
@ -5,7 +5,6 @@ PORT - Set the outgoing port for the HTTP server (or use -p
|
||||||
IP - Bind a specific IP address to the HTTP server (or use -ip)
|
IP - Bind a specific IP address to the HTTP server (or use -ip)
|
||||||
VERBOSE - Display more logs in verbose mode. (1 - 4)
|
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)
|
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)
|
|
||||||
DB_CONN - Automatic Database connection (sqlite, postgres, mysql)
|
DB_CONN - Automatic Database connection (sqlite, postgres, mysql)
|
||||||
DB_HOST - Database hostname or IP address
|
DB_HOST - Database hostname or IP address
|
||||||
DB_USER - Database username
|
DB_USER - Database username
|
||||||
|
@ -13,6 +12,7 @@ DB_PASS - Database password
|
||||||
DB_PORT - Database port (5432, 3306, ...)
|
DB_PORT - Database port (5432, 3306, ...)
|
||||||
DB_DATABASE - Database connection's database name
|
DB_DATABASE - Database connection's database name
|
||||||
POSTGRES_SSLMODE - Enable Postgres SSL Mode 'ssl_mode=VALUE' (enable/disable/verify-full/verify-ca)
|
POSTGRES_SSLMODE - Enable Postgres SSL Mode 'ssl_mode=VALUE' (enable/disable/verify-full/verify-ca)
|
||||||
|
DISABLE_LOGS - Disable viewing and writing to the log file (default is false)
|
||||||
GO_ENV - Run Statping in testmode, will bypass HTTP authentication (if set as 'test')
|
GO_ENV - Run Statping in testmode, will bypass HTTP authentication (if set as 'test')
|
||||||
NAME - Set a name for the Statping status page
|
NAME - Set a name for the Statping status page
|
||||||
DESCRIPTION - Set a description for the Statping status page
|
DESCRIPTION - Set a description for the Statping status page
|
||||||
|
@ -20,8 +20,15 @@ DOMAIN - Set a URL for the Statping status page
|
||||||
ADMIN_USER - Username for administrator account (default: admin)
|
ADMIN_USER - Username for administrator account (default: admin)
|
||||||
ADMIN_PASS - Password for administrator account (default: admin)
|
ADMIN_PASS - Password for administrator account (default: admin)
|
||||||
SASS - Set the absolute path to the sass binary location
|
SASS - Set the absolute path to the sass binary location
|
||||||
|
USE_ASSETS - Automatically use assets from 'assets folder' (true/false)
|
||||||
HTTP_PROXY - Use a HTTP Proxy for HTTP Requests
|
HTTP_PROXY - Use a HTTP Proxy for HTTP Requests
|
||||||
AUTH_USERNAME - HTTP Basic Authentication username
|
AUTH_USERNAME - HTTP Basic Authentication username
|
||||||
AUTH_PASSWORD - HTTP Basic Authentication password
|
AUTH_PASSWORD - HTTP Basic Authentication password
|
||||||
BASE_PATH - Set the base URL prefix (set to 'monitor' if URL is domain.com/monitor)
|
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
|
||||||
|
API_KEY - Set a custom API Key for Statping
|
||||||
|
API_SECRET - Set a custom API Secret for API Authentication
|
||||||
|
MAX_OPEN_CONN - Set Maximum Open Connections for database server (default: 5)
|
||||||
|
MAX_IDLE_CONN - Set Maximum Idle Connections for database server
|
||||||
|
MAX_LIFE_CONN - Set Maximum Life Connections for database server
|
||||||
```
|
```
|
Loading…
Reference in New Issue