chore(dashdot): add 2 env vars in gui (#2992)

This commit is contained in:
Stavros Kois 2022-06-26 13:09:10 +03:00 committed by GitHub
parent 3858312158
commit e08dcab8f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 2 deletions

View File

@ -19,7 +19,7 @@ name: dashdot
sources: sources:
- https://github.com/MauriceNino/dashdot - https://github.com/MauriceNino/dashdot
- https://hub.docker.com/r/mauricenino/dashdot - https://hub.docker.com/r/mauricenino/dashdot
version: 1.0.3 version: 1.0.4
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media

View File

@ -91,7 +91,19 @@ questions:
default: "os,cpu,storage,ram,network" default: "os,cpu,storage,ram,network"
- variable: DASHDOT_ACCEPT_OOKLA_EULA - variable: DASHDOT_ACCEPT_OOKLA_EULA
label: "DASHDOT_ACCEPT_OOKLA_EULA" label: "DASHDOT_ACCEPT_OOKLA_EULA"
description: "Use the newer and more accurate speedtest tool from Ookla, instead of the old speedtest-cli for your speedtests. " description: "Use the newer and more accurate speedtest tool from Ookla, instead of the old speedtest-cli for your speedtests."
schema:
type: boolean
default: false
- variable: DASHDOT_USE_IMPERIAL
label: "DASHDOT_USE_IMPERIAL"
description: "Shows any units in the imperial system, instead of the default metric."
schema:
type: boolean
default: false
- variable: DASHDOT_DISABLE_INTEGRATIONS
label: "DASHDOT_DISABLE_INTEGRATIONS"
description: "Disables support for integrations. This does two things: disable CORS and disable open API endpoints."
schema: schema:
type: boolean type: boolean
default: false default: false

View File

@ -22,6 +22,8 @@ env:
# User Defined # User Defined
# DASHDOT_WIDGET_LIST: os,cpu,storage,ram,network # DASHDOT_WIDGET_LIST: os,cpu,storage,ram,network
# DASHDOT_ACCEPT_OOKLA_EULA: true # DASHDOT_ACCEPT_OOKLA_EULA: true
# DASHDOT_USE_IMPERIAL: false
# DASHDOT_DISABLE_INTEGRATIONS: false
# DASHDOT_DISABLE_HOST: false # DASHDOT_DISABLE_HOST: false
# DASHDOT_OS_LABEL_LIST: "os,arch,up_since" # DASHDOT_OS_LABEL_LIST: "os,arch,up_since"
# DASHDOT_OS_WIDGET_GROW: "1.5" # DASHDOT_OS_WIDGET_GROW: "1.5"