76 lines
2.2 KiB
Terraform
76 lines
2.2 KiB
Terraform
locals {
|
|
module_dir = "../modules"
|
|
root_volume = module.system_globals.volume_host
|
|
volume_host = "${module.system_globals.volume_host}/appconfig"
|
|
}
|
|
|
|
module "system_globals" {
|
|
source = "${local.module_dir}/00-globals/system"
|
|
}
|
|
|
|
module "infrastructure_int" {
|
|
source = "../modules/01-networking/network-service"
|
|
name = "infrastructure_int"
|
|
subnet = "10.100.0.0/24"
|
|
driver = "bridge"
|
|
attachable = true
|
|
options = {
|
|
"isolate" : false
|
|
}
|
|
}
|
|
|
|
module "jellyfin" {
|
|
source = "${local.module_dir}/20-services-entertainment/jellyfin-service"
|
|
volume_path = "${local.root_volume}/jellyfin"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "satisfactory" {
|
|
source = "${local.module_dir}/20-services-entertainment/satisfactory-service"
|
|
volume_path = "${local.root_volume}/satisfactory"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "eco" {
|
|
source = "${local.module_dir}/20-services-entertainment/eco-service"
|
|
volume_path = "${local.root_volume}/eco"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "authentik" {
|
|
source = "${local.module_dir}/30-services-software/authentik-service"
|
|
volume_path = "${local.root_volume}/authentik"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "traccar" {
|
|
source = "${local.module_dir}/30-services-software/traccar-service"
|
|
volume_path = "${local.root_volume}/traccar"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "tandoor" {
|
|
source = "${local.module_dir}/30-services-software/tandoor-service"
|
|
volume_path = "${local.root_volume}/tandoor"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "coder" {
|
|
source = "${local.module_dir}/30-services-software/coder-service"
|
|
volume_path = "${local.root_volume}/coder"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "penpot" {
|
|
source = "${local.module_dir}/30-services-software/penpot-service"
|
|
volume_path = "${local.root_volume}/penpot"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|
|
module "fs-quantum" {
|
|
source = "${local.module_dir}/30-services-software/filesystem-service"
|
|
volume_path = "${local.root_volume}/fs-quantum"
|
|
networks = [module.infrastructure_int.name]
|
|
}
|
|
|