module "portainer" { #source = "github.com/matthewbaggett/terraform_modules//products/portainer/ui" source = "./lib/grey.ooo/products/portainer/ui" should_mount_local_docker_socket = true placement_constraints = ["node.role == manager"] networks = [module.traefik.docker_network] traefik = { domain = "portainer.${var.base_domain}", port = 9000, ssl = true, non-ssl = true basic-auth-users = ["techinc"] } } output "portainer" { value = { endpoint = module.portainer.endpoint credentials = module.portainer.portainer.credentials socket-proxy = { endpoint = module.portainer.socket_proxy_endpoint } } }