IAC/service.treafik.tf

19 lines
674 B
Terraform
Raw Normal View History

2025-01-09 08:01:54 +00:00
module "traefik" {
source = "github.com/matthewbaggett/terraform_modules//products/traefik"
2025-01-09 08:01:54 +00:00
enable_ssl = true
enable_non_ssl = true
2025-01-16 18:38:54 +00:00
acme_use_staging = false
acme_email = var.acme_email
hello_service_domain = "hello.${var.base_domain}"
traefik_service_domain = "traefik.${var.base_domain}"
2025-01-09 08:01:54 +00:00
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"]
2025-01-09 08:01:54 +00:00
}