Migrate JSON config to YAML

This commit is contained in:
Franck Nijhof 2021-11-04 21:08:59 +01:00
parent d599e77ee0
commit f14149189f
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 39 additions and 39 deletions

View file

@ -1,9 +0,0 @@
{
"build_from": {
"aarch64": "ghcr.io/hassio-addons/base/aarch64:10.1.0",
"amd64": "ghcr.io/hassio-addons/base/amd64:10.1.0",
"armhf": "ghcr.io/hassio-addons/base/armhf:10.1.0",
"armv7": "ghcr.io/hassio-addons/base/armv7:10.1.0",
"i386": "ghcr.io/hassio-addons/base/i386:10.1.0"
}
}

7
home-panel/build.yaml Normal file
View file

@ -0,0 +1,7 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base/aarch64:10.1.0
amd64: ghcr.io/hassio-addons/base/amd64:10.1.0
armhf: ghcr.io/hassio-addons/base/armhf:10.1.0
armv7: ghcr.io/hassio-addons/base/armv7:10.1.0
i386: ghcr.io/hassio-addons/base/i386:10.1.0

View file

@ -1,30 +0,0 @@
{
"name": "Home Panel",
"version": "dev",
"slug": "home-panel",
"description": "A web frontend for controlling the home",
"url": "https://github.com/hassio-addons/addon-home-panel",
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
"init": false,
"ingress": true,
"ingress_stream": true,
"panel_icon": "mdi:home",
"ports": {
"80/tcp": null
},
"ports_description": {
"80/tcp": "Web UI (Not required for Ingress)"
},
"map": ["config:rw", "ssl"],
"options": {
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
},
"schema": {
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
"ssl": "bool",
"certfile": "str",
"keyfile": "str"
}
}

32
home-panel/config.yaml Normal file
View file

@ -0,0 +1,32 @@
---
name: Home Panel
version: dev
slug: home-panel
description: A web frontend for controlling the home
url: https://github.com/hassio-addons/addon-home-panel
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
init: false
ingress: true
ingress_stream: true
panel_icon: mdi:home
ports:
80/tcp: null
ports_description:
80/tcp: Web UI (Not required for Ingress)
map:
- config:rw
- ssl
options:
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)?
ssl: bool
certfile: str
keyfile: str