Migrate JSON config to YAML (#219)

This commit is contained in:
Franck Nijhof 2021-11-10 19:30:58 +01:00 committed by GitHub
parent c58ebb2b74
commit 96c251be50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 38 deletions

View file

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

7
tasmoadmin/build.yaml Normal file
View file

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

View file

@ -1,29 +0,0 @@
{
"name": "TasmoAdmin",
"version": "dev",
"slug": "sonweb",
"description": "Centrally manage all your Sonoff-Tasmota devices",
"url": "https://github.com/hassio-addons/addon-tasmoadmin",
"webui": "[PROTO:ssl]://[HOST]:[PORT:9541]",
"startup": "system",
"init": false,
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
"map": ["ssl"],
"ports": {
"9541/tcp": 9541
},
"ports_description": {
"9541/tcp": "TasmoAdmin web interface"
},
"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"
}
}

30
tasmoadmin/config.yaml Normal file
View file

@ -0,0 +1,30 @@
---
name: TasmoAdmin
version: dev
slug: sonweb
description: Centrally manage all your Sonoff-Tasmota devices
url: https://github.com/hassio-addons/addon-tasmoadmin
webui: "[PROTO:ssl]://[HOST]:[PORT:9541]"
startup: system
init: false
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
map:
- ssl
ports:
9541/tcp: 9541
ports_description:
9541/tcp: TasmoAdmin web interface
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