Migrate JSON config to YAML (#95)

This commit is contained in:
Franck Nijhof 2021-11-10 16:14:52 +01:00 committed by GitHub
parent db2a61ce9a
commit 5c8a098eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 44 deletions

View file

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

7
thelounge/build.yaml Normal file
View file

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

View file

@ -1,35 +0,0 @@
{
"name": "The Lounge",
"version": "dev",
"slug": "thelounge",
"description": "A self-hosted web IRC client",
"url": "https://github.com/hassio-addons/addon-thelounge",
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
"ingress": true,
"ingress_stream": true,
"panel_icon": "mdi:chat",
"ports": {
"80/tcp": null
},
"ports_description": {
"80/tcp": "The Lounge Web UI (Not required for Ingress)"
},
"map": ["ssl"],
"options": {
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"default_theme": "default",
"themes": ["thelounge-theme-solarized"],
"users": []
},
"schema": {
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
"ssl": "bool",
"certfile": "str",
"keyfile": "str",
"default_theme": "str",
"themes": ["str"],
"users": ["str"]
}
}

39
thelounge/config.yaml Normal file
View file

@ -0,0 +1,39 @@
---
name: The Lounge
version: dev
slug: thelounge
description: A self-hosted web IRC client
url: https://github.com/hassio-addons/addon-thelounge
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
ingress: true
ingress_stream: true
panel_icon: mdi:chat
ports:
80/tcp: null
ports_description:
80/tcp: The Lounge Web UI (Not required for Ingress)
map:
- ssl
options:
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
default_theme: default
themes:
- thelounge-theme-solarized
users: []
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)?
ssl: bool
certfile: str
keyfile: str
default_theme: str
themes:
- str
users:
- str