mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
#355 Document ENV variables
parent
5bbe4a8a45
commit
f47549d660
1 changed files with 11 additions and 14 deletions
|
@ -1,15 +1,12 @@
|
||||||
### UPTIME_KUMA_SSL_CERT `string`
|
# Environment variables
|
||||||
- SSL Cert File Path
|
|
||||||
- Default Value: `undefined`
|
|
||||||
|
|
||||||
### UPTIME_KUMA_SSL_KEY `string`
|
| Environment variable | Server argument | Description | Default |
|
||||||
- SSL Key File Path
|
| ------------------------------------------ | -------------------------- | --------------------------------------------------------------------- | ---------: |
|
||||||
- Default Value: `undefined`
|
| `NODE_ENV` | | Set the NodeJS environment flag | production |
|
||||||
|
| `DATA_DIR` | `data-dir` | Set the directory where the data should be stored (could be relative) | `./data/` |
|
||||||
|
| `UPTIME_KUMA_HOST` or `HOST` | `host` | Host to bind to, could be an ip. | `::` |
|
||||||
### UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN `int`
|
| `UPTIME_KUMA_PORT` or `PORT` | `port` | Port to listen to | `3001` |
|
||||||
|
| `UPTIME_KUMA_SSL_KEY` or `SSL_KEY` | `ssl-key` | Path to SSL key | |
|
||||||
(1.10.0)
|
| `UPTIME_KUMA_SSL_CERT` or `SSL_CERT` | `ssl-cert` | Path to SSL certificate | |
|
||||||
|
| `UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN` | `disable-frame-sameorigin` | Prevent kuma from being opened by an IFrame from other hosts | `false` |
|
||||||
-
|
| `UPTIME_KUMA_LOG_RESPONSE_BODY_MONITOR_ID` | | Log beat event to STDOUT ("1" to enable) | |
|
||||||
- Default Value: `undefined`
|
|
||||||
|
|
Loading…
Reference in a new issue