Skip to content

Commit

Permalink
Migrate JSON config to YAML (#227)
Browse files Browse the repository at this point in the history
* Migrate JSON config to YAML

* Prettified Code!

Co-authored-by: frenck <[email protected]>
  • Loading branch information
frenck and frenck authored Nov 4, 2021
1 parent 5dd4636 commit 6d2a4de
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 77 deletions.
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}"

0 comments on commit 6d2a4de

Please sign in to comment.