mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
806 B
806 B
hassio-addons
Docker addons for HassIO
Addon folder
addon_name:
Dockerfile
config.json
Use FROM %%BASE_IMAGE%% inside your docker file. We use alpine linux 3.5 for addons.
Addon config
{
"name": "xy",
"verson": "1.2",
"slug": "folder",
"description": "long descripton",
"startup": "before|after|once",
"boot": "auto|manual",
"ports": {
"123/tcp": 123
},
"map_config": "bool",
"map_ssl": "bool",
"options": {},
"schema": {
"bla": "str|int|float|bool"
},
}
Addon need to known
/data is a volume with a persistant store. /data/options.json have the user config inside. You can use jq inside shell script to parse this data.