feat(lychee): Add db/redis, fix storage path, add app_key secret, add gui config options (#1928)
* feat(lychee): Add db/redis, fix storage path, add app_key secret, add gui config options * see output * without quote * remove `command` * Add TZ
This commit is contained in:
@@ -88,7 +88,133 @@ questions:
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
- variable: APP_URL
|
||||
label: "APP_URL"
|
||||
description: "Application URL eg. https://lychee.mydomain.com"
|
||||
schema:
|
||||
type: string
|
||||
default: "http://localhost"
|
||||
- variable: APP_DEBUG
|
||||
label: "APP_DEBUG"
|
||||
description: "Enables the debug info"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
- variable: SECURITY_HEADER_HSTS_ENABLE
|
||||
label: "SECURITY_HEADER_HSTS_ENABLE"
|
||||
description: "Enables HSTS Headers"
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
- variable: secret
|
||||
group: "Container Configuration"
|
||||
label: "Secret Image Environment"
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: MAIL_FROM_ADDRESS
|
||||
label: "MAIL_FROM_ADDRESS"
|
||||
description: "Mail from Address"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: MAIL_FROM_NAME
|
||||
label: "MAIL_FROM_NAME"
|
||||
description: "Mail from Name"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: MAIL_DRIVER
|
||||
label: "MAIL_DRIVER"
|
||||
description: "Mail Driver"
|
||||
schema:
|
||||
type: string
|
||||
default: "smtp"
|
||||
enum:
|
||||
- value: "smtp"
|
||||
description: "smtp"
|
||||
- value: "mailgun"
|
||||
description: "mailgun"
|
||||
- value: "sendmail"
|
||||
description: "sendmail"
|
||||
- value: "ses"
|
||||
description: "ses"
|
||||
- value: "postmark"
|
||||
description: "postmark"
|
||||
- value: "log"
|
||||
description: "log"
|
||||
- value: "array"
|
||||
description: "array"
|
||||
- variable: MAIL_HOST
|
||||
label: "MAIL_HOST"
|
||||
description: "Mail Host"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: MAIL_PORT
|
||||
label: "MAIL_PORT"
|
||||
description: "Mail Port"
|
||||
schema:
|
||||
type: int
|
||||
- variable: MAIL_USERNAME
|
||||
label: "MAIL_USERNAME"
|
||||
description: "Mail Username"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: MAIL_PASSWORD
|
||||
label: "MAIL_PASSWORD"
|
||||
description: "Mail Password"
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
default: ""
|
||||
- variable: MAIL_ENCRYPTION
|
||||
label: "MAIL_ENCRYPTION"
|
||||
description: "Mail Encryption"
|
||||
schema:
|
||||
type: string
|
||||
default: "tls"
|
||||
- variable: PUSHER_APP_ID
|
||||
label: "PUSHER_APP_ID"
|
||||
description: "Pusher App ID"
|
||||
schema:
|
||||
type: string
|
||||
default: ""
|
||||
- variable: PUSHER_APP_KEY
|
||||
label: "PUSHER_APP_KEY"
|
||||
description: "Pusher App Key"
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
default: ""
|
||||
- variable: PUSHER_APP_SECRET
|
||||
label: "PUSHER_APP_SECRET"
|
||||
description: "Pusher App Secret"
|
||||
schema:
|
||||
type: string
|
||||
private: true
|
||||
default: ""
|
||||
- variable: PUSHER_APP_CLUSTER
|
||||
label: "PUSHER_APP_CLUSTER"
|
||||
description: "Pusher App Cluster"
|
||||
schema:
|
||||
type: string
|
||||
default: "mt1"
|
||||
- variable: PUSHER_APP_CLUSTER
|
||||
label: "PUSHER_APP_CLUSTER"
|
||||
description: "Pusher App Cluster"
|
||||
schema:
|
||||
type: string
|
||||
default: "mt1"
|
||||
- variable: PUSHER_APP_CLUSTER
|
||||
label: "PUSHER_APP_CLUSTER"
|
||||
description: "Pusher App Cluster"
|
||||
schema:
|
||||
type: string
|
||||
default: "mt1"
|
||||
|
||||
# Include{containerConfig}
|
||||
|
||||
@@ -182,7 +308,7 @@ questions:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: config
|
||||
- variable: conf
|
||||
label: "App Config Storage"
|
||||
description: "Stores the Application Configuration."
|
||||
schema:
|
||||
@@ -225,6 +351,92 @@ questions:
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: sym
|
||||
label: "App sym Storage"
|
||||
description: "Stores the Application sym."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: "Type of Storage"
|
||||
description: "Sets the persistence type, Anything other than PVC could break rollback!"
|
||||
schema:
|
||||
type: string
|
||||
default: "simplePVC"
|
||||
enum:
|
||||
- value: "simplePVC"
|
||||
description: "PVC (simple)"
|
||||
- value: "simpleHP"
|
||||
description: "HostPath (simple)"
|
||||
- value: "emptyDir"
|
||||
description: "emptyDir"
|
||||
- value: "pvc"
|
||||
description: "pvc"
|
||||
- value: "hostPath"
|
||||
description: "hostPath"
|
||||
# Include{persistenceBasic}
|
||||
- variable: hostPath
|
||||
label: "hostPath"
|
||||
description: "Path inside the container the storage is mounted"
|
||||
schema:
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
type: hostpath
|
||||
- variable: medium
|
||||
label: "EmptyDir Medium"
|
||||
schema:
|
||||
show_if: [["type", "=", "emptyDir"]]
|
||||
type: string
|
||||
default: ""
|
||||
enum:
|
||||
- value: ""
|
||||
description: "Default"
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: uploads
|
||||
label: "App Uploads Storage"
|
||||
description: "Stores the Application Uploads."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: "Type of Storage"
|
||||
description: "Sets the persistence type, Anything other than PVC could break rollback!"
|
||||
schema:
|
||||
type: string
|
||||
default: "simplePVC"
|
||||
enum:
|
||||
- value: "simplePVC"
|
||||
description: "PVC (simple)"
|
||||
- value: "simpleHP"
|
||||
description: "HostPath (simple)"
|
||||
- value: "emptyDir"
|
||||
description: "emptyDir"
|
||||
- value: "pvc"
|
||||
description: "pvc"
|
||||
- value: "hostPath"
|
||||
description: "hostPath"
|
||||
# Include{persistenceBasic}
|
||||
- variable: hostPath
|
||||
label: "hostPath"
|
||||
description: "Path inside the container the storage is mounted"
|
||||
schema:
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
type: hostpath
|
||||
- variable: medium
|
||||
label: "EmptyDir Medium"
|
||||
schema:
|
||||
show_if: [["type", "=", "emptyDir"]]
|
||||
type: string
|
||||
default: ""
|
||||
enum:
|
||||
- value: ""
|
||||
description: "Default"
|
||||
- value: "Memory"
|
||||
description: "Memory"
|
||||
# Include{persistenceAdvanced}
|
||||
|
||||
# Include{persistenceList}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user