variable "wait_on" { type = any description = "Resources to wait on" default = true } variable "server_ip" { type = string } variable "ssh_private_key_path" { type = string } variable "server_domain" { type = string } module "admin" { source = "../../quadlet-app" wait_on = var.wait_on server_ip = var.server_ip ssh_private_key_path = var.ssh_private_key_path app_name = "plane-admin" image = "docker.io/makeplane/plane-admin:v1.0.0" ports = ["3010:3000"] environment = { # API settings NEXT_PUBLIC_API_BASE_URL = "https://plane.${var.server_domain}/api" # Web settings NEXT_PUBLIC_WEB_URL = "https://plane.${var.server_domain}/god-mode" # Environment NODE_ENV = "production" } haproxy_services = [ { name = "plane-admin" domain = "plane.${var.server_domain}/god-mode/" port = "3010" host = "127.0.0.1" tls = false } ] } output "app_urls" { value = module.admin.app_urls } output "installed" { value = true depends_on = [module.admin.installed] }