feat: Add ROCm support and update Ollama configurations
- Created ansible playbooks for setting up AMD ROCm container environment. - Added ROCm and AMD Graphics repositories in ansible tasks. - Installed necessary ROCm packages including rocm-dkms and developer tools. - Updated Dockerfile for Ollama to use version 0.13.4 and created a new Dockerfile for ROCm support. - Enhanced game station scripts for better performance and added MangoHud configuration. - Modified systemd service files to allow CPU core allocation. - Updated playbooks for Ollama and Qwen2 to include new configurations and environment variables. - Added Wake-on-LAN systemd service configuration. - Updated Terraform configurations to include secret management for the web UI. - Refactored Kubernetes deployment for open-webui to include secret handling and improved volume management.
This commit is contained in:
@@ -34,3 +34,24 @@ variable "ollama_proxy" {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user