2025-06-05 23:27:50 +02:00
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
2026-05-20 20:58:02 +02:00
default = "v0.8.12"
2025-06-05 23:27:50 +02:00
}
variable "issuer" {
description = "The issuer for the certificate"
type = string
default = "internal-ca"
}
2025-06-22 18:43:55 +02:00
variable "ollama_proxy" {
description = "Configuration for the Ollama proxy"
type = object ({
enabled = bool
mac = optional ( string , "" )
ip = optional ( string , "" )
port = optional ( string , "11434" )
scheme = optional ( string , "http" )
})
default = {
enabled = false
}
}
2025-12-25 16:37:05 +01:00
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"
}
}