mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-05 03:21:36 +00:00
📚 Update add-on documentation to use new YAML configuration format
This commit is contained in:
parent
bb93368d36
commit
13e56ddd1e
1 changed files with 17 additions and 20 deletions
37
README.md
37
README.md
|
@ -50,26 +50,23 @@ comparison to installing any other Hass.io add-on.
|
|||
|
||||
Example add-on configuration:
|
||||
|
||||
```json
|
||||
{
|
||||
"log_level": "info",
|
||||
"process_info": false,
|
||||
"refresh_time": 10,
|
||||
"ssl": false,
|
||||
"certfile": "fullchain.pem",
|
||||
"keyfile": "privkey.pem",
|
||||
"influxdb": {
|
||||
"enabled": false,
|
||||
"host": "a0d7b954-influxdb",
|
||||
"port": 8086,
|
||||
"username": "glances",
|
||||
"password": "!secret glances_influxdb_password",
|
||||
"database": "glances",
|
||||
"prefix": "localhost",
|
||||
"interval": 60,
|
||||
"ssl": false
|
||||
}
|
||||
}
|
||||
```yaml
|
||||
log_level: info
|
||||
process_info: false
|
||||
refresh_time: 10
|
||||
ssl: false
|
||||
certfile: fullchain.pem
|
||||
keyfile: privkey.pem
|
||||
influxdb:
|
||||
enabled: false
|
||||
host: a0d7b954-influxdb
|
||||
port: 8086
|
||||
username: glances
|
||||
password: "!secret glances_influxdb_password"
|
||||
database: glances
|
||||
prefix: localhost
|
||||
interval: 60
|
||||
ssl: false
|
||||
```
|
||||
|
||||
**Note**: _This is just an example, don't copy and paste it! Create your own!_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue