2023-08-06 08:59:57 +00:00
|
|
|
# Include{groups}
|
|
|
|
portals:
|
|
|
|
open:
|
|
|
|
# Include{portalLink}
|
|
|
|
questions:
|
|
|
|
# Include{global}
|
2024-04-29 10:28:39 +00:00
|
|
|
# Include{credentials}
|
2023-08-06 08:59:57 +00:00
|
|
|
# Include{workload}
|
|
|
|
# Include{workloadDeployment}
|
|
|
|
# Include{replicas1}
|
|
|
|
# Include{podSpec}
|
|
|
|
# Include{containerMain}
|
|
|
|
- variable: env
|
|
|
|
label: Image Environment
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: SAFE_MODE
|
|
|
|
label: Safe Mode
|
|
|
|
description: CTFd will not load any plugins which may alleviate issues preventing CTFd from starting.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: REVERSE_PROXY
|
|
|
|
label: Reverse Proxy
|
|
|
|
description: Specifies whether CTFd is behind a reverse proxy or not.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: MAIL_USEAUTH
|
|
|
|
label: Show Optional Mail Settings
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: MAILFROM_ADDR
|
|
|
|
label: Mail From Address
|
|
|
|
description: The email address that emails are sent from.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: MAIL_SERVER
|
|
|
|
label: Mail Server
|
|
|
|
description: The mail server that emails are sent from.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: MAIL_PORT
|
|
|
|
label: Mail Port
|
|
|
|
description: The mail port that emails are sent from.
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 587
|
|
|
|
- variable: MAIL_USERNAME
|
|
|
|
label: Mail UserName
|
|
|
|
description: The username used to authenticate to the SMTP server.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: MAIL_PASSWORD
|
|
|
|
label: Mail Password
|
|
|
|
description: The password used to authenticate to the SMTP server.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
private: true
|
|
|
|
default: ""
|
|
|
|
- variable: MAIL_TLS
|
|
|
|
label: Mail TLS
|
|
|
|
description: Whether to connect to the SMTP server over TLS.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
- variable: MAIL_SSL
|
|
|
|
label: Mail SSL
|
|
|
|
description: Whether to connect to the SMTP server over SSL.
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: oauth
|
|
|
|
label: Show Optional Oauth Settings
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
show_subquestions_if: true
|
|
|
|
subquestions:
|
|
|
|
- variable: OAUTH_CLIENT_ID
|
|
|
|
label: Oauth Client Id
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: ""
|
|
|
|
- variable: OAUTH_CLIENT_SECRET
|
|
|
|
label: Oauth Client Secret
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
private: true
|
|
|
|
default: ""
|
|
|
|
# Include{containerBasic}
|
|
|
|
# Include{containerAdvanced}
|
|
|
|
# Include{containerConfig}
|
|
|
|
# Include{podOptions}
|
|
|
|
# Include{serviceRoot}
|
|
|
|
# Include{serviceMain}
|
|
|
|
# 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: 10613
|
|
|
|
required: true
|
2024-04-22 12:11:52 +00:00
|
|
|
# Include{externalInterfaces}
|
|
|
|
|
2023-08-06 08:59:57 +00:00
|
|
|
# Include{serviceList}
|
|
|
|
# Include{persistenceRoot}
|
|
|
|
- variable: uploads
|
|
|
|
label: "App Uploads Storage"
|
|
|
|
description: "Stores the Application Uploads."
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
# Include{persistenceBasic}
|
|
|
|
- variable: logs
|
|
|
|
label: "App Logs Storage"
|
|
|
|
description: "Stores the Application Logs."
|
|
|
|
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}
|
|
|
|
# Include{ingressAdvanced}
|
|
|
|
# Include{ingressList}
|
|
|
|
# Include{securityContextRoot}
|
|
|
|
- variable: runAsUser
|
|
|
|
label: "runAsUser"
|
|
|
|
description: "The UserID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
- variable: runAsGroup
|
|
|
|
label: "runAsGroup"
|
|
|
|
description: "The groupID of the user running the application"
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
# Include{securityContextContainer}
|
|
|
|
# Include{securityContextAdvanced}
|
|
|
|
# Include{securityContextPod}
|
|
|
|
- variable: fsGroup
|
|
|
|
label: "fsGroup"
|
|
|
|
description: "The group that should own ALL storage."
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 568
|
|
|
|
# Include{resources}
|
|
|
|
# Include{advanced}
|
|
|
|
# Include{addons}
|
|
|
|
# Include{codeserver}
|
|
|
|
# Include{netshoot}
|
|
|
|
# Include{vpn}
|
|
|
|
# Include{documentation}
|