2021-12-29 15:21:28 +00:00
|
|
|
# Include{groups}
|
|
|
|
portals:
|
2022-02-24 18:15:06 +00:00
|
|
|
open:
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{portalLink}
|
2021-12-29 15:21:28 +00:00
|
|
|
questions:
|
|
|
|
# Portal
|
|
|
|
# Include{global}
|
|
|
|
- variable: imageSelector
|
|
|
|
group: "Container Image"
|
|
|
|
label: "Select Image"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "image"
|
|
|
|
enum:
|
|
|
|
- value: "image"
|
|
|
|
description: "CPU"
|
|
|
|
- value: "imageGPU"
|
|
|
|
description: "GPU"
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{controller}
|
|
|
|
# Include{controllerDeployment}
|
|
|
|
# Include{replicas}
|
|
|
|
# Include{replica1}
|
|
|
|
# Include{strategy}
|
|
|
|
# Include{recreate}
|
2021-12-29 15:21:28 +00:00
|
|
|
# Include{controllerExpert}
|
2022-08-12 08:40:46 +00:00
|
|
|
# Include{controllerExpertExtraArgs}
|
2022-06-07 17:41:19 +00:00
|
|
|
- variable: secretEnv
|
2022-01-24 10:07:03 +00:00
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Image Secrets"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: API-KEY
|
|
|
|
label: "API Key"
|
|
|
|
description: "The API Key protects all recognition and detection endpoints including face, scene, object detection and custom models"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
private: true
|
|
|
|
default: ""
|
|
|
|
- variable: ADMIN-KEY
|
|
|
|
label: "Admin key"
|
|
|
|
description: "The admin key protects admin apis such as adding models, deleting models, list models, backup and restore."
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
private: true
|
|
|
|
# Configure Enviroment Variables
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: env
|
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Image Environment"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-29 15:21:28 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: MODE
|
|
|
|
label: "Mode"
|
|
|
|
description: "Sets the performance mode"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "Medium"
|
|
|
|
enum:
|
|
|
|
- value: "High"
|
|
|
|
description: "High"
|
|
|
|
- value: "Medium"
|
|
|
|
description: "Medium"
|
|
|
|
- value: "Low"
|
|
|
|
description: "Low"
|
2022-05-09 20:44:46 +00:00
|
|
|
- variable: THREADCOUNT
|
|
|
|
label: "Threadcount"
|
|
|
|
description: "Sets the threadcount each endpoint will run with"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 5
|
2022-01-24 10:07:03 +00:00
|
|
|
- variable: deepstack
|
|
|
|
group: "Container Configuration"
|
|
|
|
label: "Image Environment"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: vision_face
|
|
|
|
label: "VISION-FACE"
|
|
|
|
description: "Enables Face Detection"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: vision_detection
|
|
|
|
label: "VISION-DETECTION"
|
|
|
|
description: "Enables Object Detection"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
enum:
|
|
|
|
- variable: vision_scene
|
|
|
|
label: "VISION-SCENE"
|
|
|
|
description: "Enables Scene Detection"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: vision_face
|
|
|
|
label: "VISION-ENHANCE"
|
|
|
|
description: "Enables Enhance Endpoint"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2021-12-29 15:21:28 +00:00
|
|
|
# Include{containerConfig}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{serviceRoot}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: main
|
|
|
|
label: "Main Service"
|
|
|
|
description: "The Primary service on which the healthcheck runs, often the webUI"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-29 15:21:28 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
2022-09-17 11:24:06 +00:00
|
|
|
# Include{serviceSelectorLoadBalancer}
|
2022-09-14 21:27:12 +00:00
|
|
|
# Include{serviceSelectorExtras}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: main
|
|
|
|
label: "Main Service Port Configuration"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-29 15:21:28 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: "Port"
|
|
|
|
description: "This port exposes the container port on the service"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 10049
|
|
|
|
required: true
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{advancedPortHTTP}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: targetPort
|
|
|
|
label: "Target Port"
|
|
|
|
description: "The internal(!) port on the container the Application runs on"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 5000
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{serviceExpertRoot}
|
2021-12-29 15:21:28 +00:00
|
|
|
default: false
|
|
|
|
# Include{serviceExpert}
|
|
|
|
# Include{serviceList}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{persistenceRoot}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: data
|
|
|
|
label: "App Config Storage"
|
|
|
|
description: "Stores the Application Configuration."
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-29 15:21:28 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
# Include{persistenceAdvanced}
|
|
|
|
- variable: modelstore
|
2022-03-24 04:39:08 +00:00
|
|
|
label: "App Model Storage"
|
|
|
|
description: "Stores the Application Model."
|
2021-12-29 15:21:28 +00:00
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-29 15:21:28 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
# Include{persistenceAdvanced}
|
|
|
|
# Include{persistenceList}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{ingressRoot}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: main
|
|
|
|
label: "Main Ingress"
|
|
|
|
schema:
|
2022-01-21 00:35:59 +00:00
|
|
|
additional_attrs: true
|
2021-12-29 15:21:28 +00:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{ingressDefault}
|
|
|
|
# Include{ingressTLS}
|
|
|
|
# Include{ingressTraefik}
|
|
|
|
# Include{ingressExpert}
|
|
|
|
# Include{ingressList}
|
2022-03-03 14:04:31 +00:00
|
|
|
# Include{security}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{securityContextAdvancedRoot}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: privileged
|
|
|
|
label: "Privileged mode"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: readOnlyRootFilesystem
|
|
|
|
label: "ReadOnly Root Filesystem"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: allowPrivilegeEscalation
|
|
|
|
label: "Allow Privilege Escalation"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: runAsNonRoot
|
|
|
|
label: "runAsNonRoot"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
2022-01-13 11:18:20 +00:00
|
|
|
# Include{securityContextAdvanced}
|
2022-08-08 21:25:02 +00:00
|
|
|
# Include{podSecurityContextRoot}
|
2021-12-29 15:21:28 +00:00
|
|
|
- variable: runAsUser
|
|
|
|
label: "runAsUser"
|
|
|
|
description: "The UserID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: runAsGroup
|
|
|
|
label: "runAsGroup"
|
2022-04-20 07:35:54 +00:00
|
|
|
description: "The groupID this App of the user running the application"
|
2021-12-29 15:21:28 +00:00
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: fsGroup
|
|
|
|
label: "fsGroup"
|
|
|
|
description: "The group that should own ALL storage."
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
2022-01-13 11:18:20 +00:00
|
|
|
# Include{podSecurityContextAdvanced}
|
2021-12-29 15:21:28 +00:00
|
|
|
# Include{resources}
|
|
|
|
# Include{advanced}
|
|
|
|
# Include{addons}
|
2022-10-01 21:39:52 +00:00
|
|
|
# Include{codeserver}
|
|
|
|
# Include{promtail}
|
|
|
|
# Include{netshoot}
|
|
|
|
# Include{vpn}
|
2022-08-12 11:15:27 +00:00
|
|
|
# Include{documentation}
|