Common 4.0 App Refactor Part 7 - Stavos

This commit is contained in:
Stavros Kois
2021-05-23 18:26:23 +02:00
committed by kjeld Schouten-Lebbing
parent ad4a2ae785
commit 69f3be4e6b
22 changed files with 89 additions and 139 deletions
@@ -11,8 +11,8 @@ image:
envTpl:
# Permissions Settings
USER_ID: "568"
GROUP_ID: "568"
USER_ID: "{ { .env.PUID } }"
GROUP_ID: "{ { .env.PGID } }"
##
# Most other defaults are set in questions.yaml
# For other options please refer to the wiki, default_values.yaml or the common library chart
@@ -56,6 +56,7 @@ questions:
description: "Create new pods and then kill old ones"
- value: "Recreate"
description: "Kill existing pods before creating new ones"
# Configure Enviroment Variables
- variable: env
group: "Configuration"
label: "Image Environment"
@@ -87,33 +88,6 @@ questions:
schema:
type: string
default: "002"
# Configure Enviroment Variables
- variable: envList
label: "Image environment"
group: "Configuration"
schema:
type: list
default: []
items:
- variable: envItem
label: "Environment Variable"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
- variable: env
group: "Configuration"
label: "Image Environment"
schema:
type: dict
attrs:
- variable: VISION-FACE
label: "VISION-FACE"
description: "Enables Face Detection"
@@ -167,6 +141,26 @@ questions:
type: string
default: "/modelstore/detection"
required: true
- variable: envList
label: "Image environment"
group: "Configuration"
schema:
type: list
default: []
items:
- variable: envItem
label: "Environment Variable"
schema:
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
- variable: value
label: "Value"
schema:
type: string
# Enable Host Networking
- variable: hostNetwork
group: "Networking"
+8 -4
View File
@@ -17,16 +17,20 @@ service:
envTpl:
# Permissions Settings
USER_ID: "568"
GROUP_ID: "568"
USER_ID: "{ { .env.PUID } }"
GROUP_ID: "{ { .env.PGID } }"
env:
PUID: "568"
PGID: "568"
# TZ: UTC
VISION-FACE: "True"
VISION-DETECTION: "True"
VISION-SCENE: "True"
MODELSTORE-DETECTION: "/modelstore/detection" # Path to custom models (needs to be on documentation)
MODE: "High" # High|Medium|Low
# Path to custom models (needs to be on documentation)
MODELSTORE-DETECTION: "/modelstore/detection"
# High|Medium|Low
MODE: "High"
persistence:
config: