2022-12-24 09:27:08 +00:00
|
|
|
# Include{groups}
|
|
|
|
portals:
|
|
|
|
open:
|
|
|
|
# Include{portalLink}
|
|
|
|
questions:
|
|
|
|
# Include{global}
|
2024-04-29 10:28:39 +00:00
|
|
|
# Include{credentials}
|
2023-03-01 07:55:51 +00:00
|
|
|
# Include{workload}
|
|
|
|
# Include{workloadDeployment}
|
|
|
|
# Include{replicas1}
|
|
|
|
# Include{podSpec}
|
|
|
|
# Include{containerMain}
|
2023-04-19 23:19:46 +00:00
|
|
|
- variable: imageSelector
|
|
|
|
label: Select Image
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: image
|
|
|
|
enum:
|
|
|
|
- value: image
|
|
|
|
description: CPU Image
|
|
|
|
- value: imageGPU
|
|
|
|
description: GPU Image
|
2023-03-01 07:55:51 +00:00
|
|
|
# Include{containerBasic}
|
|
|
|
# Include{containerAdvanced}
|
2022-12-24 09:27:08 +00:00
|
|
|
- variable: lamacleaner
|
|
|
|
group: App Configuration
|
|
|
|
label: Lama Cleaner Configuration
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: model
|
|
|
|
label: Model
|
|
|
|
description: Inpainting Model https://github.com/Sanster/lama-cleaner#inpainting-model
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
default: lama
|
|
|
|
enum:
|
|
|
|
- value: lama
|
|
|
|
description: lama
|
|
|
|
- value: cv2
|
|
|
|
description: cv2
|
|
|
|
- value: ldm
|
|
|
|
description: ldm
|
|
|
|
- value: zits
|
|
|
|
description: zits
|
|
|
|
- value: fcf
|
|
|
|
description: fcf
|
|
|
|
- value: sd1.5
|
|
|
|
description: sd1.5
|
|
|
|
- value: mat
|
|
|
|
description: mat
|
|
|
|
- variable: input
|
|
|
|
label: Input
|
|
|
|
description: Path to image you want to load by default
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: sd_run_local
|
|
|
|
label: Stable Diffusion Run Local
|
|
|
|
description: Once the model as downloaded, you can enable this.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: hf_access_token
|
|
|
|
label: HuggingFace Access Token
|
|
|
|
description: Stable diffusion need HuggingFace access token to download model
|
|
|
|
schema:
|
|
|
|
type: string
|
2023-05-28 18:35:27 +00:00
|
|
|
show_if: [[ "sd_run_local", "=", true]]
|
2022-12-24 09:27:08 +00:00
|
|
|
private: true
|
|
|
|
default: ""
|
|
|
|
- variable: sd_disable_nsfw
|
|
|
|
label: Stable Diffusion Disable NSFW Checker.
|
|
|
|
description: Disable stable diffusion NSFW checker.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: sd_cpu_text_encoder
|
|
|
|
label: Stable Diffusion Text Encoder
|
|
|
|
description: Always run stable-diffusion TextEncoder model on CPU.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: sd_enable_xformers
|
|
|
|
label: Stable Diffusion Enable XFormers
|
|
|
|
description: Enable xFormers optimizations.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: debug
|
|
|
|
label: Enable debug
|
|
|
|
description: Enable debug mode for flask web server
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
# Include{containerConfig}
|
2023-05-22 07:02:18 +00:00
|
|
|
# Include{podOptions}
|
2022-12-24 09:27:08 +00:00
|
|
|
# Include{serviceRoot}
|
2023-04-11 10:07:17 +00:00
|
|
|
# Include{serviceMain}
|
2022-12-24 09:27:08 +00:00
|
|
|
# Include{serviceSelectorLoadBalancer}
|
|
|
|
# Include{serviceSelectorExtras}
|
|
|
|
- variable: main
|
|
|
|
label: Main Service Port Configuration
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: port
|
|
|
|
label: Port
|
|
|
|
description: This port exposes the container port on the service
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 10604
|
|
|
|
required: true
|
2024-04-22 12:11:52 +00:00
|
|
|
# Include{externalInterfaces}
|
|
|
|
|
2022-12-24 09:27:08 +00:00
|
|
|
# Include{serviceList}
|
|
|
|
# Include{persistenceRoot}
|
|
|
|
- variable: torch
|
|
|
|
label: App Torch Storage
|
|
|
|
description: Stores the Application Torch.
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
- variable: huggingface
|
|
|
|
label: App HuggingFace Storage
|
|
|
|
description: Stores the Application HuggingFace.
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
# Include{persistenceList}
|
|
|
|
# Include{ingressRoot}
|
|
|
|
- variable: main
|
|
|
|
label: Main Ingress
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{ingressDefault}
|
2023-05-28 10:32:51 +00:00
|
|
|
# Include{ingressAdvanced}
|
2022-12-24 09:27:08 +00:00
|
|
|
# Include{ingressList}
|
2023-04-11 10:07:17 +00:00
|
|
|
# Include{securityContextRoot}
|
|
|
|
- variable: runAsUser
|
|
|
|
label: "runAsUser"
|
|
|
|
description: "The UserID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: runAsGroup
|
|
|
|
label: "runAsGroup"
|
|
|
|
description: "The groupID this App of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
2023-03-01 08:30:36 +00:00
|
|
|
# Include{securityContextContainer}
|
|
|
|
# Include{securityContextAdvanced}
|
|
|
|
# Include{securityContextPod}
|
2023-04-11 10:07:17 +00:00
|
|
|
- variable: fsGroup
|
|
|
|
label: "fsGroup"
|
|
|
|
description: "The group that should own ALL storage."
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
2022-12-24 09:27:08 +00:00
|
|
|
# Include{resources}
|
|
|
|
# Include{advanced}
|
|
|
|
# Include{addons}
|
|
|
|
# Include{codeserver}
|
2023-03-01 08:30:36 +00:00
|
|
|
# Include{netshoot}
|
2022-12-24 09:27:08 +00:00
|
|
|
# Include{vpn}
|
|
|
|
# Include{documentation}
|