🔥 Improves add-on configuration (#19)

This commit is contained in:
Franck Nijhof 2019-04-23 11:44:01 +02:00 committed by Timmo
parent d2a7e15940
commit 8698a76cea

View file

@ -17,28 +17,27 @@
"hassio_role": "default", "hassio_role": "default",
"hassio_api": true, "hassio_api": true,
"homeassistant_api": true, "homeassistant_api": true,
"host_network": false,
"ports": { "ports": {
"3234/tcp": 3234, "3234/tcp": 3234,
"8234/tcp": 8234 "8234/tcp": 8234
}, },
"ports_descriptions": {
"3234/tcp": "Home Panel web interface",
"8234/tcp": "Home Panel API"
},
"map": [ "map": [
"config:rw", "config:rw",
"ssl" "ssl"
], ],
"options": { "options": {
"log_level": "info",
"ssl": true, "ssl": true,
"certfile": "fullchain.pem", "certfile": "fullchain.pem",
"keyfile": "privkey.pem" "keyfile": "privkey.pem"
}, },
"schema": { "schema": {
"log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)", "log_level": "match(^(trace|debug|info|notice|warning|error|fatal)$)?",
"ssl": "bool", "ssl": "bool",
"certfile": "str", "certfile": "str",
"keyfile": "str" "keyfile": "str"
},
"environment": {
"LOG_FORMAT": "{LEVEL}: {MESSAGE}"
} }
} }