Skip to content

Commit

Permalink
Migrate JSON config to YAML (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Nov 7, 2021
1 parent df06941 commit c867760
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 56 deletions.
9 changes: 0 additions & 9 deletions motioneye/build.json

This file was deleted.

7 changes: 7 additions & 0 deletions motioneye/build.yaml
Original file line number Diff line number Diff line change
@@ -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
47 changes: 0 additions & 47 deletions motioneye/config.json

This file was deleted.

50 changes: 50 additions & 0 deletions motioneye/config.yaml
Original file line number Diff line number Diff line change
@@ -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?

0 comments on commit c867760

Please sign in to comment.