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
+6 -5
View File
@@ -1,7 +1,7 @@
locals {
# storage
persistent_folder = "/srv"
persistent_folder = "/mnt/srv"
lab_domain = "lab.alexpires.me"
internal_issuer = "internal-ca"
@@ -14,7 +14,7 @@ locals {
samba_shares = [
{
name = "Storage"
path = "/mnt/storage"
path = "/mnt/md0/storage"
comment = "Main Storage"
}
]
@@ -40,7 +40,7 @@ locals {
{
name = "vh-01"
type = "A"
content = "10.19.4.109"
content = "10.19.4.254"
},
{
name = "gpu-01"
@@ -176,8 +176,9 @@ locals {
nextcloud_fqdn = "cloud.alexpires.me"
nextcloud_db_passwd = var.nextcloud_db_passwd
nextcloud_db_root_password = var.nextcloud_db_root_password
nextcloud_db_path = "${local.persistent_folder}/mysql/nextcloud"
backup_folder = "/mnt/usb/backups/nextcloud"
nextcloud_db_path = "/mnt/md0/nextcloud.db"
nextcloud_backup = "/mnt/md0/nextcloud.backups"
nextcloud_data = "/mnt/md0/nextcloud.files"
nextcloud_config = {
mail_from = "cloud"
mail_domain = "alexpires.me"