Futzing and improvements
Some checks failed
Trunk Check / Trunk Check Runner (push) Has been cancelled

This commit is contained in:
Greyscale 2025-01-17 21:51:51 +01:00
parent 2461e97541
commit 8e5e47b310
Signed by: grey
GPG key ID: DDB392AE64B32D89
4 changed files with 6 additions and 5 deletions

@ -1 +1 @@
Subproject commit 720b2227e91b33518a0ad12011cb9235f9a23ee1 Subproject commit 454f44781d51febaa5e4d2bea5295ad1082e2541

View file

@ -1,9 +1,9 @@
module "s1" { module "s1" {
source = "./lib/grey.ooo/products/socket-proxy" source = "./lib/grey.ooo/products/socket-proxy"
stack_name = "printers" stack_name = "printers"
service_name = "s1proxy" service_name = "s1"
target = { host = "s1.prin.ti", port = 80 } 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"] placement_constraints = ["node.hostname == california"]
} }
module "label_printer" { module "label_printer" {
@ -11,7 +11,7 @@ module "label_printer" {
stack_name = "printers" stack_name = "printers"
service_name = "labelprinter" service_name = "labelprinter"
target = { host = "labelprinter.ti", port = 80 } 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"] placement_constraints = ["node.hostname == california"]
} }

View file

@ -7,6 +7,7 @@ module "unifi_proxy" {
domain = "unifi.${var.base_domain}", domain = "unifi.${var.base_domain}",
basic-auth-users = ["techinc"], basic-auth-users = ["techinc"],
headers = { Host = "unifi.ti" } headers = { Host = "unifi.ti" }
ssl = true, non-ssl = true
} }
placement_constraints = ["node.hostname == california"] placement_constraints = ["node.hostname == california"]
} }

View file

@ -6,7 +6,7 @@ module "traefik" {
acme_email = var.acme_email acme_email = var.acme_email
hello_service_domain = "hello.${var.base_domain}" hello_service_domain = "hello.${var.base_domain}"
traefik_service_domain = "traefik.${var.base_domain}" traefik_service_domain = "traefik.${var.base_domain}"
log_level = "DEBUG" log_level = "WARN"
access_log = false access_log = false
enable_ping = true enable_ping = true
enable_docker_provider = false enable_docker_provider = false