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 #227

Merged
merged 2 commits into from
Nov 4, 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 glances/build.json

This file was deleted.

7 changes: 7 additions & 0 deletions glances/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.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
68 changes: 0 additions & 68 deletions glances/config.json

This file was deleted.

71 changes: 71 additions & 0 deletions glances/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
name: Glances
version: dev
slug: glances
description: A cross-platform system monitoring tool
url: https://github.com/hassio-addons/addon-glances
ingress: true
ingress_port: 0
ingress_stream: true
panel_icon: mdi:speedometer
startup: services
homeassistant: 0.92.0b2
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
ports:
80/tcp: null
ports_description:
80/tcp: Web interface (Not required for Ingress)
map:
- addons
- backup
- config:rw
- share
- ssl
- media
hassio_api: true
auth_api: true
docker_api: true
host_network: true
host_pid: true
apparmor: false
options:
log_level: info
process_info: false
refresh_time: 10
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
influxdb:
enabled: false
host: a0d7b954-influxdb
port: 8086
username: glances
password: ""
database: glances
prefix: localhost
interval: 60
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)
process_info: bool
refresh_time: int
ssl: bool
certfile: str
keyfile: str
influxdb:
enabled: bool
host: str
port: port
username: str
password: password
database: str
prefix: str
interval: int
ssl: bool?
leave_front_door_open: bool?
environment:
LOG_FORMAT: "{LEVEL}: {MESSAGE}"