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 "live" { 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-live" image = "docker.io/makeplane/plane-live:v1.0.0" ports = ["3012: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}/live/" # Environment NODE_ENV = "production" } restart_policy = "never" haproxy_services = [ { name = "plane-live" domain = "plane.${var.server_domain}/live/" port = "3012" host = "127.0.0.1" tls = false } ] } output "app_urls" { value = module.live.app_urls } output "installed" { value = true depends_on = [module.live.installed] }