🔥 Improves add-on configuration

This commit is contained in:
Franck Nijhof 2019-04-22 20:35:13 +02:00
parent 75c4911d2e
commit 4fedc5185b
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

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}"
} }
} }