mirror of
https://github.com/hassio-addons/addon-pi-hole.git
synced 2025-05-07 04:11:22 +00:00
📚 Update add-on documentation to use new YAML configuration format
This commit is contained in:
parent
417ce2a2eb
commit
899e58e3b0
1 changed files with 17 additions and 26 deletions
43
README.md
43
README.md
|
@ -49,32 +49,23 @@ comparison to installing any other Hass.io add-on.
|
|||
|
||||
Example add-on configuration:
|
||||
|
||||
```json
|
||||
{
|
||||
"log_level": "info",
|
||||
"update_lists_on_start": true,
|
||||
"ssl": false,
|
||||
"certfile": "fullchain.pem",
|
||||
"keyfile": "privkey.pem",
|
||||
"interface": "eth0",
|
||||
"ipv6": true,
|
||||
"ipv4_address": "",
|
||||
"ipv6_address": "",
|
||||
"hosts": [
|
||||
{
|
||||
"name": "printer.local",
|
||||
"ip": "192.168.1.5"
|
||||
},
|
||||
{
|
||||
"name": "router.local",
|
||||
"ip": "192.168.1.1"
|
||||
},
|
||||
{
|
||||
"name": "router.local",
|
||||
"ip": "FE80:0000:0000:0000:0202:B3FF:FE1E:8329"
|
||||
}
|
||||
]
|
||||
}
|
||||
```yaml
|
||||
log_level: info
|
||||
update_lists_on_start: true
|
||||
ssl: false
|
||||
certfile: fullchain.pem
|
||||
keyfile: privkey.pem
|
||||
interface: eth0
|
||||
ipv6: true
|
||||
ipv4_address: ''
|
||||
ipv6_address: ''
|
||||
hosts:
|
||||
- name: printer.local
|
||||
ip: 192.168.1.5
|
||||
- name: router.local
|
||||
ip: 192.168.1.1
|
||||
- name: router.local
|
||||
ip: "FE80:0000:0000:0000:0202:B3FF:FE1E:8329"
|
||||
```
|
||||
|
||||
**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