Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate JSON config to YAML #319

Merged
merged 1 commit into from
Nov 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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?