Start creating new homelab settings with OpenTofu

This commit is contained in:
2025-08-06 14:23:17 +00:00
commit 2fb1c45e87
20 changed files with 1132 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
module "system_globals" {
source = "./modules/00-globals/system"
}
// Application services
module "services" {
source = "./services"
}
module "caddy" {
source = "./modules/01-networking/caddy-service"
volume_path = "./docker/infrastructure/"
domains = [
"blackchaosnl.duckdns.org",
"blackchaosnl.myaddr.io",
"blackchaosnl.myaddr.dev",
"blackchaosnl.myaddr.tools"
]
tls_email = "your-email@example.com" # For Let's Encrypt
container_name = "caddy"
service_definitions = module.services.service_definitions
networks = ["default"]
}