Set a default for add-on boot config (#769)

This commit is contained in:
Franck Nijhof 2021-01-11 14:15:43 +01:00 committed by GitHub
parent d89e8ea443
commit 4fc97ac0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ The configuration for an add-on is stored in `config.json`.
| url | url | no | Homepage of the add-on. Here you can explain the add-ons and options.
| startup | string | no | Default `application`. `initialize` will start add-on on setup of Home Assistant. `system` is for things like databases and not dependent on other things. `services` will start before Home Assistant, while `application` is started afterwards. Finally `once` is for applications that don't run as a daemon.
| webui | string | no | An URL for the web interface of this add-on. Like `http://[HOST]:[PORT:2839]/dashboard`, the port needs the internal port, which will be replaced with the effective port. It is also possible to bind the protocol part to a configuration options with: `[PROTO:option_name]://[HOST]:[PORT:2839]/dashboard` and it's looked up if it is `true` and it's going to `https`.
| boot | string | yes | `auto` by system and manual or only `manual`.
| boot | string | no | Default `auto`. `auto` start at boot is controlled by the system. `manual` for only manual starting.
| ports | dict | no | Network ports to expose from the container. Format is `"container-port/type": host-port`. If the host port is `null` then the mapping is disabled.
| ports_description | dict | no | Network ports description mapping. Format is `"container-port/type": "description of this port"`.
| host_network | bool | no | If `true`, the add-on runs on host network.