chore: rename data_dir to volume_host
This commit is contained in:
@@ -14,9 +14,9 @@ output "timezone" {
|
|||||||
value = data.dotenv.system_config.entries.TIMEZONE
|
value = data.dotenv.system_config.entries.TIMEZONE
|
||||||
}
|
}
|
||||||
|
|
||||||
output "data_dir" {
|
output "volume_host" {
|
||||||
description = "Base directory for data volumes"
|
description = "Base directory for host volumes"
|
||||||
value = data.dotenv.system_config.entries.DATA_DIR
|
value = data.dotenv.system_config.entries.VOLUME_HOST
|
||||||
}
|
}
|
||||||
|
|
||||||
output "puid" {
|
output "puid" {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
locals {
|
locals {
|
||||||
module_dir = "../modules"
|
module_dir = "../modules"
|
||||||
data_dir = module.system_globals.data_dir
|
volume_host = module.system_globals.volume_host
|
||||||
}
|
}
|
||||||
|
|
||||||
module "system_globals" {
|
module "system_globals" {
|
||||||
@@ -20,11 +20,11 @@ module "homelab_docker_network" {
|
|||||||
|
|
||||||
module "actualbudget" {
|
module "actualbudget" {
|
||||||
source = "${local.module_dir}/20-services-apps/actualbudget"
|
source = "${local.module_dir}/20-services-apps/actualbudget"
|
||||||
volume_path = "${local.data_dir}/actual"
|
volume_path = "${local.volume_host}/actual"
|
||||||
networks = [module.homelab_docker_network.name]
|
networks = [module.homelab_docker_network.name]
|
||||||
}
|
}
|
||||||
|
|
||||||
module "emulatorjs" {
|
module "emulatorjs" {
|
||||||
source = "${local.module_dir}/20-services-apps/emulatorjs"
|
source = "${local.module_dir}/20-services-apps/emulatorjs"
|
||||||
volume_path = "${local.data_dir}/emulatorjs"
|
volume_path = "${local.volume_host}/emulatorjs"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user