Migrate JSON config to YAML

This commit is contained in:
Franck Nijhof 2021-11-07 12:04:30 +01:00
parent df06941260
commit 46a2decb01
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 57 additions and 56 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
motioneye/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,47 +0,0 @@
{
"name": "motionEye",
"version": "dev",
"slug": "motioneye",
"description": "Simple, elegant and feature-rich CCTV/NVR for your cameras",
"url": "https://github.com/hassio-addons/addon-motioneye",
"ingress": true,
"ingress_port": 0,
"ingress_stream": true,
"panel_icon": "mdi:cctv",
"homeassistant": "0.92.0b2",
"arch": ["aarch64", "amd64", "armhf", "armv7", "i386"],
"init": false,
"ports": {
"80/tcp": null
},
"ports_description": {
"80/tcp": "Web interface (Not required for Ingress)"
},
"discovery": ["motioneye"],
"host_network": true,
"apparmor": false,
"video": true,
"privileged": ["DAC_READ_SEARCH", "SYS_ADMIN"],
"map": ["media:rw", "share:rw", "ssl"],
"options": {
"motion_webcontrol": false,
"ssl": true,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"action_buttons": []
},
"schema": {
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
"motion_webcontrol": "bool",
"ssl": "bool",
"certfile": "str",
"keyfile": "str",
"action_buttons": [
{
"type": "list(lock|unlock|light_on|light_off|alarm_on|alarm_off|up|right|down|left|zoom_in|zoom_out|preset1|preset2|preset3|preset4|preset5|preset6|preset7|preset8|preset9)?",
"camera": "int?",
"command": "str?"
}
]
}
}

50
motioneye/config.yaml Normal file
View file

@ -0,0 +1,50 @@
---
name: motionEye
version: dev
slug: motioneye
description: Simple, elegant and feature-rich CCTV/NVR for your cameras
url: https://github.com/hassio-addons/addon-motioneye
ingress: true
ingress_port: 0
ingress_stream: true
panel_icon: mdi:cctv
homeassistant: 0.92.0b2
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
init: false
ports:
80/tcp: null
ports_description:
80/tcp: Web interface (Not required for Ingress)
discovery:
- motioneye
host_network: true
apparmor: false
video: true
privileged:
- DAC_READ_SEARCH
- SYS_ADMIN
map:
- media:rw
- share:rw
- ssl
options:
motion_webcontrol: false
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
action_buttons: []
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)?
motion_webcontrol: bool
ssl: bool
certfile: str
keyfile: str
action_buttons:
- type: list(lock|unlock|light_on|light_off|alarm_on|alarm_off|up|right|down|left|zoom_in|zoom_out|preset1|preset2|preset3|preset4|preset5|preset6|preset7|preset8|preset9)?
camera: int?
command: str?