ec740f458f
- Introduced SMTP settings for Vaultwarden including host, port, security, and authentication details. - Added variables for signup verification, 2FA settings, password hints, and logging options. - Updated Vaultwarden deployment to utilize new SMTP configurations. - Enhanced Grafana module to support dynamic dashboard and datasource provisioning. - Added LLM proxy configuration for Open Web UI with necessary environment variables.
64 lines
1.8 KiB
Terraform
64 lines
1.8 KiB
Terraform
variable "persistent_folder" {
|
|
description = "The path to the persistent folder"
|
|
type = string
|
|
}
|
|
|
|
variable "fqdn" {
|
|
description = "The fully qualified domain name for the app server"
|
|
type = string
|
|
}
|
|
|
|
variable "tag" {
|
|
description = "The version of app to install"
|
|
type = string
|
|
default = "v0.8.12"
|
|
}
|
|
|
|
variable "issuer" {
|
|
description = "The issuer for the certificate"
|
|
type = string
|
|
default = "internal-ca"
|
|
}
|
|
|
|
variable "llm_proxy" {
|
|
description = "Configuration for the llm proxy"
|
|
type = object({
|
|
enabled = bool
|
|
mac = optional(string, "")
|
|
ip = optional(string, "")
|
|
port = optional(string, "11434")
|
|
scheme = optional(string, "http")
|
|
upstream_port = optional(string, "11434")
|
|
})
|
|
default = {
|
|
enabled = false
|
|
}
|
|
}
|
|
|
|
variable "secret_key" {
|
|
description = "The secret key for WEBUI"
|
|
type = string
|
|
}
|
|
|
|
variable "jwt_expires_in" {
|
|
description = "Always set a reasonable expiration time in production environments (e.g., 3600s, 1h, 7d etc.) to limit the lifespan of authentication tokens."
|
|
default = "1h"
|
|
type = string
|
|
}
|
|
|
|
variable "log_level" {
|
|
description = "The global log level for the application"
|
|
type = string
|
|
default = "INFO"
|
|
validation {
|
|
condition = contains(["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"], var.log_level)
|
|
error_message = "log_level must be one of: DEBUG, INFO, WARNING, ERROR, CRITICAL"
|
|
}
|
|
}
|
|
|
|
variable "aiohttp_client_timeout" {
|
|
description = "The timeout for aiohttp client in seconds (e.g., 300, 600 etc.) (By default the timeout will be set to None, effectively disabling the timeout and allowing the client to wait indefinitely.)"
|
|
type = string
|
|
default = ""
|
|
}
|