From 8e5e47b310fe57f0f75081f854755a42785271b8 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Fri, 17 Jan 2025 21:51:51 +0100 Subject: [PATCH] Futzing and improvements --- lib/grey.ooo | 2 +- service.printers.tf | 6 +++--- service.proxies.tf | 1 + service.treafik.tf | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/grey.ooo b/lib/grey.ooo index 720b222..454f447 160000 --- a/lib/grey.ooo +++ b/lib/grey.ooo @@ -1 +1 @@ -Subproject commit 720b2227e91b33518a0ad12011cb9235f9a23ee1 +Subproject commit 454f44781d51febaa5e4d2bea5295ad1082e2541 diff --git a/service.printers.tf b/service.printers.tf index a9993a8..3faedff 100644 --- a/service.printers.tf +++ b/service.printers.tf @@ -1,9 +1,9 @@ module "s1" { source = "./lib/grey.ooo/products/socket-proxy" stack_name = "printers" - service_name = "s1proxy" + service_name = "s1" target = { host = "s1.prin.ti", port = 80 } - traefik = { domain = "s1.${var.base_domain}", basic-auth-users = ["techinc"] } + traefik = { domain = "s1.${var.base_domain}", basic-auth-users = ["techinc"], ssl = true, non-ssl = true } placement_constraints = ["node.hostname == california"] } module "label_printer" { @@ -11,7 +11,7 @@ module "label_printer" { stack_name = "printers" service_name = "labelprinter" target = { host = "labelprinter.ti", port = 80 } - traefik = { domain = "labelprinter.${var.base_domain}", basic-auth-users = ["techinc"] } + traefik = { domain = "labelprinter.${var.base_domain}", basic-auth-users = ["techinc"], ssl = true, non-ssl = true } placement_constraints = ["node.hostname == california"] } diff --git a/service.proxies.tf b/service.proxies.tf index 57285bb..323e465 100644 --- a/service.proxies.tf +++ b/service.proxies.tf @@ -7,6 +7,7 @@ module "unifi_proxy" { domain = "unifi.${var.base_domain}", basic-auth-users = ["techinc"], headers = { Host = "unifi.ti" } + ssl = true, non-ssl = true } placement_constraints = ["node.hostname == california"] } diff --git a/service.treafik.tf b/service.treafik.tf index faef9d5..10f1241 100644 --- a/service.treafik.tf +++ b/service.treafik.tf @@ -6,7 +6,7 @@ module "traefik" { acme_email = var.acme_email hello_service_domain = "hello.${var.base_domain}" traefik_service_domain = "traefik.${var.base_domain}" - log_level = "DEBUG" + log_level = "WARN" access_log = false enable_ping = true enable_docker_provider = false