IAC/service.treafik.tf
Matthew Baggett 1e819ff81d
Some checks are pending
Trunk Check / Trunk Check Runner (push) Waiting to run
Fix up bugs with services that don't need traefik among other things
2025-01-16 20:16:18 +01:00

18 lines
674 B
HCL

module "traefik" {
source = "github.com/matthewbaggett/terraform_modules//products/traefik"
enable_ssl = true
enable_non_ssl = true
acme_use_staging = false
acme_email = var.acme_email
hello_service_domain = "hello.${var.base_domain}"
traefik_service_domain = "traefik.${var.base_domain}"
log_level = "DEBUG"
access_log = false
enable_ping = true
enable_docker_provider = false
enable_swarm_provider = true
enable_dashboard = true
api_insecure = true
api_debug = true
placement_constraints = ["node.role != manager"]
}