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
|
||||
}
|
||||
|
||||
output "data_dir" {
|
||||
description = "Base directory for data volumes"
|
||||
value = data.dotenv.system_config.entries.DATA_DIR
|
||||
output "volume_host" {
|
||||
description = "Base directory for host volumes"
|
||||
value = data.dotenv.system_config.entries.VOLUME_HOST
|
||||
}
|
||||
|
||||
output "puid" {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
locals {
|
||||
module_dir = "../modules"
|
||||
data_dir = module.system_globals.data_dir
|
||||
volume_host = module.system_globals.volume_host
|
||||
}
|
||||
|
||||
module "system_globals" {
|
||||
@@ -20,11 +20,11 @@ module "homelab_docker_network" {
|
||||
|
||||
module "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]
|
||||
}
|
||||
|
||||
module "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