first commit
This commit is contained in:
36
environments/services/main.tf
Normal file
36
environments/services/main.tf
Normal file
@@ -0,0 +1,36 @@
|
||||
// Application services environment
|
||||
// Contains configurations for all application services
|
||||
|
||||
// Import global Terraform settings
|
||||
terraform {
|
||||
# Include backend configuration if needed
|
||||
# backend "local" { ... }
|
||||
}
|
||||
|
||||
locals {
|
||||
module_dir = "../../modules"
|
||||
}
|
||||
|
||||
module "actualbudget" {
|
||||
source = "${local.module_dir}/20-services-apps/actualbudget"
|
||||
|
||||
container_name = "actualbudget"
|
||||
timezone = var.timezone
|
||||
data_volume_path = "${var.data_dir}/actual/data"
|
||||
port = var.actualbudget_port
|
||||
networks = var.default_networks
|
||||
}
|
||||
|
||||
module "emulatorjs" {
|
||||
source = "${local.module_dir}/20-services-apps/emulatorjs"
|
||||
|
||||
container_name = "emulatorjs"
|
||||
timezone = var.timezone
|
||||
puid = var.puid
|
||||
pgid = var.pgid
|
||||
config_volume_path = "${var.data_dir}/emulatorjs/config"
|
||||
data_volume_path = "${var.data_dir}/emulatorjs/data"
|
||||
frontend_port = var.emulatorjs_frontend_port
|
||||
config_port = var.emulatorjs_config_port
|
||||
backend_port = var.emulatorjs_backend_port
|
||||
}
|
||||
Reference in New Issue
Block a user