... | ... | @@ -41,12 +41,18 @@ The basic structure of the config file is: |
|
|
All of these options are optional and have default values that can be overwritten by setting the options.
|
|
|
|
|
|
| Option | Default value |
|
|
|
|--------------------|---------------------|
|
|
|
|----------------------|---------------------|
|
|
|
| `"host"` | `0.0.0.0:3002` |
|
|
|
| `"db_path"` | `/db.sqlite` |
|
|
|
| `"check_interval"` | `120` |
|
|
|
| `"no_frontend"` | `false` |
|
|
|
| `"frontend_path"` | `../frontend/build` |
|
|
|
| `"allowed_api_keys"` | `[]` |
|
|
|
|
|
|
The `"no_frontend"` option is used to prevent the backend to serve any HTML. This can be useful if you want to build your own frontend on top of the API.
|
|
|
|
|
|
The `"allowed_api_keys"` option is used to specify keys to authenticate to the [Messages API](API Docs/Messages API) using the `X-API-Key` header. If it is left empty, a random one will be generated during startup and will be shown in the console. Keep in mind, that is changes on every startup!
|
|
|
|
|
|
|
|
|
# Notifiers
|
|
|
|
... | ... | |