328 lines
12 KiB
YAML
328 lines
12 KiB
YAML
# Include{groups}
|
|
portals:
|
|
open:
|
|
# Include{portalLink}
|
|
questions:
|
|
# Include{global}
|
|
# Include{workload}
|
|
# Include{workloadDeployment}
|
|
|
|
# Include{replicas1}
|
|
# Include{podSpec}
|
|
# Include{containerMain}
|
|
# Include{containerBasic}
|
|
# Include{containerAdvanced}
|
|
|
|
- variable: plausible
|
|
group: "App Configuration"
|
|
label: "Plausible Configuration"
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: server
|
|
label: Server Configuration
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: base_url
|
|
label: Base Url
|
|
description: The hosting URL of the server, used for URL generation. In production systems, this should be your ingress host.
|
|
schema:
|
|
type: string
|
|
default: http://localhost:10277
|
|
required: true
|
|
- variable: disable_registration
|
|
label: Disable Registration
|
|
description: Restricts registration of new users.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: "true"
|
|
enum:
|
|
- value: "true"
|
|
description: Full restriction
|
|
- value: "false"
|
|
description: No restriction
|
|
- value: invite_only
|
|
description: Only invited users can register
|
|
- variable: log_failed_login_attempts
|
|
label: Log Failed Login Attempts
|
|
description: Controls whether to log warnings about failed login attempts.
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: log_level
|
|
label: Log Level
|
|
description: Logging Level
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: warn
|
|
enum:
|
|
- value: debug
|
|
description: debug
|
|
- value: info
|
|
description: info
|
|
- value: warn
|
|
description: warn
|
|
- value: error
|
|
description: error
|
|
- variable: db
|
|
label: DB Configuration
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: clickhouse_flush_interval_ms
|
|
label: Clickhouse Flush Interval MS
|
|
description: Interval (in milliseconds) between flushing events and sessions data to Clickhouse. Consult Clickhouse docs before changing it.
|
|
schema:
|
|
type: int
|
|
default: 5000
|
|
required: true
|
|
- variable: clickhouse_max_buffer_size
|
|
label: Clickhouse Max Buffer Size
|
|
description: Maximum size of the buffer of events or sessions. Consult Clickhouse docs before changing it.
|
|
schema:
|
|
type: int
|
|
default: 10000
|
|
required: true
|
|
- variable: email
|
|
label: Email Configuration
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: mailer_email
|
|
label: Mailer Email
|
|
description: The email id to use for as from address of all communications from Plausible.
|
|
schema:
|
|
type: string
|
|
default: hello@plausible.local
|
|
required: true
|
|
- variable: mailer_name
|
|
label: Mailer Name
|
|
description: The display name for the sender (from).
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: smtp_host_address
|
|
label: SMTP Host Address
|
|
description: The host address of your smtp server.
|
|
schema:
|
|
type: string
|
|
default: localhost
|
|
required: true
|
|
- variable: smtp_host_port
|
|
label: SMTP Host Port
|
|
description: The port of your smtp server.
|
|
schema:
|
|
type: int
|
|
default: 25
|
|
required: true
|
|
- variable: smtp_user_name
|
|
label: SMTP User Name
|
|
description: The username/email in case SMTP auth is enabled.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: smtp_user_password
|
|
label: SMTP User Password
|
|
description: The password in case SMTP auth is enabled.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
private: true
|
|
- variable: smtp_host_ssl_enabled
|
|
label: SMTP Host SSL Enabled
|
|
description: If SSL is enabled for SMTP connection
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
- variable: smtp_retries
|
|
label: SMTP Retries
|
|
description: Number of retries to make until mailer gives up.
|
|
schema:
|
|
type: int
|
|
default: 2
|
|
required: true
|
|
- variable: mailer_adapter
|
|
label: Mailer Adapter
|
|
description: Mailer Adapter
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: Bamboo.SMTPAdapter
|
|
enum:
|
|
- value: Bamboo.SMTPAdapter
|
|
description: Bamboo.SMTPAdapter
|
|
- value: Bamboo.PostmarkAdapter
|
|
description: Bamboo.PostmarkAdapter
|
|
- value: Bamboo.MailgunAdapter
|
|
description: Bamboo.MailgunAdapter
|
|
- value: Bamboo.MandrillAdapter
|
|
description: Bamboo.MandrillAdapter
|
|
- value: Bamboo.SendGridAdapter
|
|
description: Bamboo.SendGridAdapter
|
|
- variable: postmark_api_key
|
|
label: Postmark API Key
|
|
description: Required. Enter your API key.
|
|
schema:
|
|
type: string
|
|
private: true
|
|
default: ""
|
|
show_if: [["mailer_adapter", "=", "Bamboo.PostmarkAdapter"]]
|
|
- variable: mailgun_api_key
|
|
label: Mailgun API Key
|
|
description: Required. Enter your API key.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
private: true
|
|
show_if: [["mailer_adapter", "=", "Bamboo.MailgunAdapter"]]
|
|
- variable: mailgun_domain
|
|
label: Mailgun Domain
|
|
description: Required. Enter your Mailgun domain.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
show_if: [["mailer_adapter", "=", "Bamboo.MailgunAdapter"]]
|
|
- variable: mailgun_base_uri
|
|
label: Mailgun Base URI
|
|
description: This is optional. Mailgun makes a difference in the API base URL between sender domains from within the EU and outside. By default, the base URL is set to https://api.mailgun.net/v3. To override this you can pass https://api.eu.mailgun.net/v3 if you are using an EU domain.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
show_if: [["mailer_adapter", "=", "Bamboo.MailgunAdapter"]]
|
|
- variable: mandrill_api_key
|
|
label: Mandrill API Key
|
|
description: Required. Enter your API key.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
private: true
|
|
show_if: [["mailer_adapter", "=", "Bamboo.MandrillAdapter"]]
|
|
- variable: sendgrid_api_key
|
|
label: Sendgrid API Key
|
|
description: Required. Enter your API key.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
private: true
|
|
show_if: [["mailer_adapter", "=", "Bamboo.SendGridAdapter"]]
|
|
- variable: maxmind
|
|
label: Maxmind Configuration
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: license_key
|
|
label: Maxmind License Key
|
|
description: MaxMind license key to automatically download and update the database
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
private: true
|
|
- variable: edition
|
|
label: Maxmind Edition
|
|
description: MaxMind database edition to use (only if Maxmind License Key is set)
|
|
schema:
|
|
show_if: [["license_key", "!=", ""]]
|
|
type: string
|
|
required: true
|
|
default: GeoLite2-City
|
|
enum:
|
|
- value: GeoLite2-City
|
|
description: GeoLite2-City
|
|
- value: GeoLite2-Country
|
|
description: GeoLite2-Country
|
|
- variable: google
|
|
label: Google Configuration
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
- variable: client_id
|
|
label: Google CLient ID
|
|
description: The Client ID from the Google API Console for your Plausible Analytics project
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: client_secret
|
|
label: Google CLient Secret
|
|
description: The Client Secret from the Google API Console for your Plausible Analytics project
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
private: true
|
|
|
|
# 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: 10277
|
|
required: true
|
|
# Include{serviceExpertRoot}
|
|
# Include{serviceExpert}
|
|
# Include{serviceList}
|
|
# Include{persistenceList}
|
|
# Include{ingressRoot}
|
|
- variable: main
|
|
label: "Main Ingress"
|
|
schema:
|
|
additional_attrs: true
|
|
type: dict
|
|
attrs:
|
|
# Include{ingressDefault}
|
|
# Include{ingressTLS}
|
|
# Include{ingressTraefik}
|
|
# Include{ingressAdvanced}
|
|
# Include{ingressList}
|
|
# Include{securityContextRoot}
|
|
|
|
- variable: runAsUser
|
|
label: "runAsUser"
|
|
description: "The UserID of the user running the application"
|
|
schema:
|
|
type: int
|
|
default: 1000
|
|
- variable: runAsGroup
|
|
label: "runAsGroup"
|
|
description: "The groupID this App of the user running the application"
|
|
schema:
|
|
type: int
|
|
default: 1000
|
|
# 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{postgresql}
|
|
# Include{advanced}
|
|
# Include{addons}
|
|
# Include{codeserver}
|
|
# Include{netshoot}
|
|
# Include{vpn}
|
|
# Include{documentation}
|