mirror of
https://github.com/truenas/charts.git
synced 2026-04-29 13:02:54 +08:00
* Add support for additional library mounts in immich * Update library/ix-dev/community/immich/questions.yaml * bump
432 lines
15 KiB
YAML
432 lines
15 KiB
YAML
groups:
|
|
- name: Immich Configuration
|
|
description: Configure Immich
|
|
- name: Network Configuration
|
|
description: Configure Network for Immich
|
|
- name: Storage Configuration
|
|
description: Configure Storage for Immich
|
|
- name: Resources Configuration
|
|
description: Configure Resources for Immich
|
|
|
|
portals:
|
|
web_portal:
|
|
protocols:
|
|
- "$kubernetes-resource_configmap_portal_protocol"
|
|
host:
|
|
- "$kubernetes-resource_configmap_portal_host"
|
|
ports:
|
|
- "$kubernetes-resource_configmap_portal_port"
|
|
path: "$kubernetes-resource_configmap_portal_path"
|
|
|
|
questions:
|
|
- variable: TZ
|
|
group: Immich Configuration
|
|
label: Timezone
|
|
schema:
|
|
type: string
|
|
default: Etc/UTC
|
|
required: true
|
|
$ref:
|
|
- definitions/timezone
|
|
|
|
- variable: immichConfig
|
|
label: ""
|
|
group: Immich Configuration
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: disableReverseGeocoding
|
|
label: Disable Reverse Geocoding
|
|
schema:
|
|
type: boolean
|
|
default: false
|
|
show_subquestions_if: true
|
|
subquestions:
|
|
- variable: reverseGeocodingPrecision
|
|
label: Reverse Geocoding Precision
|
|
description: |
|
|
The precision of the reverse geocoding. The higher the number, the more precise the reverse geocoding will be.</br>
|
|
This ranges from 0-3 with 3 being the most precise</br>
|
|
- 3 - Cities > 500 population: ~200MB RAM</br>
|
|
- 2 - Cities > 1000 population: ~150MB RAM</br>
|
|
- 1 - Cities > 5000 population: ~80MB RAM</br>
|
|
- 0 - Cities > 15000 population: ~40MB RAM
|
|
schema:
|
|
type: int
|
|
default: 3
|
|
min: 0
|
|
max: 3
|
|
required: true
|
|
- variable: publicLoginMessage
|
|
label: Public Login Message
|
|
description: |
|
|
The message that will be displayed on the login page.
|
|
schema:
|
|
type: string
|
|
default: ""
|
|
- variable: enableML
|
|
label: Enable Machine Learning
|
|
description: |
|
|
Enable Machine Learning
|
|
schema:
|
|
type: boolean
|
|
default: true
|
|
- variable: enableTypesense
|
|
label: Enable Typesense
|
|
description: |
|
|
Enable Typesense
|
|
schema:
|
|
type: boolean
|
|
default: true
|
|
|
|
- variable: immichNetwork
|
|
label: ""
|
|
group: Network Configuration
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: webuiPort
|
|
label: Web Port
|
|
description: The port for the Immich WebUI.
|
|
schema:
|
|
type: int
|
|
default: 30041
|
|
min: 9000
|
|
max: 65535
|
|
required: true
|
|
|
|
- variable: immichStorage
|
|
label: ""
|
|
group: Storage Configuration
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: uploads
|
|
label: Immich Uploads Storage
|
|
description: The path to store Immich uploads.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: uploads
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
- variable: library
|
|
label: Immich Library Storage
|
|
description: The path to store Immich library.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: library
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
- variable: thumbs
|
|
label: Immich Thumbs Storage
|
|
description: The path to store Immich Thumbs.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: thumbs
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
- variable: profile
|
|
label: Immich Profile Storage
|
|
description: The path to store Immich Profile.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: profile
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
- variable: video
|
|
label: Immich Video Storage
|
|
description: The path to store Immich Video.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: video
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
- variable: additionalLibraries
|
|
label: Additional Libraries
|
|
description: |
|
|
Additional libraries for Immich.</br>
|
|
Internal mountPath will be the same as your hostPath</br>
|
|
https://immich.app/docs/features/read-only-gallery
|
|
schema:
|
|
type: list
|
|
default: []
|
|
items:
|
|
- variable: storageEntry
|
|
label: Storage Entry
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: hostPath
|
|
label: Host Path
|
|
description: The host path to use for storage.
|
|
schema:
|
|
type: hostpath
|
|
required: true
|
|
- variable: pgData
|
|
label: Immich Postgres Data Storage
|
|
description: The path to store Immich Postgres Data.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: pgData
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
- variable: pgBackup
|
|
label: Immich Postgres Backup Storage
|
|
description: The path to store Immich Postgres Backup.
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: type
|
|
label: Type
|
|
description: |
|
|
ixVolume: Is dataset created automatically by the system.</br>
|
|
Host Path: Is a path that already exists on the system.
|
|
schema:
|
|
type: string
|
|
required: true
|
|
default: ixVolume
|
|
enum:
|
|
- value: hostPath
|
|
description: Host Path (Path that already exists on the system)
|
|
- value: ixVolume
|
|
description: ixVolume (Dataset created automatically by the system)
|
|
- variable: datasetName
|
|
label: Dataset Name
|
|
schema:
|
|
type: string
|
|
show_if: [["type", "=", "ixVolume"]]
|
|
required: true
|
|
hidden: true
|
|
immutable: true
|
|
default: pgBackup
|
|
$ref:
|
|
- "normalize/ixVolume"
|
|
- variable: hostPath
|
|
label: Host Path
|
|
schema:
|
|
type: hostpath
|
|
show_if: [["type", "=", "hostPath"]]
|
|
immutable: true
|
|
required: true
|
|
|
|
- variable: resources
|
|
label: ""
|
|
group: Resources Configuration
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: limits
|
|
label: Limits
|
|
schema:
|
|
type: dict
|
|
attrs:
|
|
- variable: cpu
|
|
label: CPU
|
|
description: CPU limit for Immich.
|
|
schema:
|
|
type: string
|
|
max_length: 6
|
|
valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
|
|
valid_chars_error: |
|
|
Valid CPU limit formats are</br>
|
|
- Plain Integer - eg. 1</br>
|
|
- Float - eg. 0.5</br>
|
|
- Milicpu - eg. 500m
|
|
default: "4000m"
|
|
required: true
|
|
- variable: memory
|
|
label: Memory
|
|
description: Memory limit for Immich.
|
|
schema:
|
|
type: string
|
|
max_length: 12
|
|
valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
|
|
valid_chars_error: |
|
|
Valid Memory limit formats are</br>
|
|
- Suffixed with E/P/T/G/M/K - eg. 1G</br>
|
|
- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
|
|
- Plain Integer in bytes - eg. 1024</br>
|
|
- Exponent - eg. 134e6
|
|
default: "8Gi"
|
|
required: true
|