feat: Update configuration for Nextcloud and Certbot, add image and video organization scripts

This commit is contained in:
2026-01-08 23:39:55 +01:00
parent 3c6647c215
commit 2c8b753393
12 changed files with 440 additions and 19 deletions
@@ -1,6 +1,4 @@
locals {
persistent_folder = var.persistent_folder
database_credentials = {
MYSQL_USER = {
key = "username"
@@ -63,9 +61,6 @@ locals {
}
}, var.db_credentials_are_secrets ? local.database_credentials : {})
nextcloud_data = "${local.persistent_folder}/nextcloud"
apache_confs = {
for f in fileset("${path.module}/resources/apache2/conf-enabled/", "*.conf") :
"${f}" => file("${path.module}/resources/apache2/conf-enabled//${f}")
+1 -1
View File
@@ -229,7 +229,7 @@ resource "kubernetes_deployment" "nextcloud_apache" {
volume {
name = "html-data"
host_path {
path = local.nextcloud_data
path = var.nextcloud_data
}
}
volume {
@@ -1,4 +1,4 @@
variable "persistent_folder" {
variable "nextcloud_data" {
description = "The path to the persistent folder"
type = string
}