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:
@@ -4,7 +4,9 @@ module "open-webui" {
|
||||
persistent_folder = local.persistent_folder
|
||||
fqdn = local.open_webui_fqdn
|
||||
ollama_proxy = local.ollama_proxy
|
||||
secret_key = var.webui_secret_key
|
||||
tag = "0.6-slim"
|
||||
log_level = local.open_webui_log_level
|
||||
}
|
||||
|
||||
module "samba" {
|
||||
|
||||
@@ -4,9 +4,12 @@ locals {
|
||||
persistent_folder = "/srv"
|
||||
|
||||
lab_domain = "lab.alexpires.me"
|
||||
open_webui_fqdn = "open-webui.${local.lab_domain}"
|
||||
internal_issuer = "internal-ca"
|
||||
|
||||
# open-webui
|
||||
open_webui_fqdn = "open-webui.${local.lab_domain}"
|
||||
open_webui_log_level = "DEBUG"
|
||||
|
||||
# samba
|
||||
samba_shares = [
|
||||
{
|
||||
|
||||
@@ -21,3 +21,9 @@ variable "telegram_bot_token" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
variable "webui_secret_key" {
|
||||
description = "The secret key for WEBUI"
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
@@ -5,3 +5,4 @@ TF_VAR_nextcloud_db_root_password=$MYSQL_ROOT_PASSWORD
|
||||
TF_VAR_nextcloud_admin_password=$NEXTCLOUD_ADMIN_PASSWORD
|
||||
TF_VAR_scaleway_project_id=$SCALEWAY_PROJECT_ID
|
||||
TF_VAR_telegram_bot_token=$TELEGRAM_BOT_TOKEN
|
||||
TF_VAR_webui_secret_key=$WEBUI_SECRET_KEY
|
||||
|
||||
Reference in New Issue
Block a user