From 0b838b52cc6c040c3355507a312420789d9109c0 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 9 Oct 2024 01:32:35 +0200 Subject: [PATCH] Move more services to new node --- modules/infrastructure/output.tf | 1 + output.tf | 1 + services.auto.tfvars | 38 +++++++++++++++++--------------- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/modules/infrastructure/output.tf b/modules/infrastructure/output.tf index b8e5905..9b9b77a 100644 --- a/modules/infrastructure/output.tf +++ b/modules/infrastructure/output.tf @@ -45,6 +45,7 @@ output "healthchecksio" { "ping_url" = healthchecksio_check.status.ping_url } } + sensitive = true } output "scaleway_data" { diff --git a/output.tf b/output.tf index cbd6da4..040020c 100644 --- a/output.tf +++ b/output.tf @@ -14,6 +14,7 @@ output "authentik_data" { output "healthchecksio" { value = module.infrastructure.healthchecksio + sensitive = true } output "postgresql_data" { diff --git a/services.auto.tfvars b/services.auto.tfvars index 9a3dd73..ce633e1 100644 --- a/services.auto.tfvars +++ b/services.auto.tfvars @@ -33,11 +33,7 @@ services = { "extra_services" = { name = "extra_services" - host = "node002" - dns = [{ - domain = "serguzim.me" - target = "*" - }] + host = "node003" auth = false database = false s3 = false @@ -56,6 +52,12 @@ services = { target = "@" name = "webpage-serguzim" alias = "faas" + }, + { + domain = "serguzim.me" + target = "www" + name = "webpage-serguzim-www" + alias = "webpage-serguzim" } ] monitoring = { @@ -69,7 +71,7 @@ services = { "forgejo" = { name = "forgejo" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "git" @@ -90,7 +92,7 @@ services = { "forgejo_runner" = { name = "forgejo_runner" - host = "node002" + host = "node003" auth = false database = false s3 = false @@ -98,7 +100,7 @@ services = { "healthcheck" = { name = "healthcheck" - host = "node002" + host = "node003" auth = false database = false s3 = false @@ -328,7 +330,7 @@ services = { "reitanlage_oranienburg" = { name = "reitanlage_oranienburg" - host = "node002" + host = "node003" dns = [ { domain = "reitanlage-oranienburg.de" @@ -355,7 +357,7 @@ services = { "shlink" = { name = "shlink" - host = "node002" + host = "node003" dns = [ { domain = "msrg.cc" @@ -383,7 +385,7 @@ services = { "synapse" = { name = "synapse" - host = "node002" + host = "node003" dns = [ { domain = "serguzim.me" @@ -413,7 +415,7 @@ services = { "tandoor" = { name = "tandoor" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "recipes" @@ -433,7 +435,7 @@ services = { "teamspeak_fallback" = { name = "teamspeak_fallback" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "ts" @@ -449,7 +451,7 @@ services = { "telegraf" = { name = "telegraf" - host = "node002" + host = "node003" auth = false database = true s3 = false @@ -457,7 +459,7 @@ services = { "tinytinyrss" = { name = "tinytinyrss" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "rss" @@ -489,7 +491,7 @@ services = { "vikunja" = { name = "vikunja" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "todo" @@ -510,7 +512,7 @@ services = { "webhook" = { name = "webhook" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "hook" @@ -541,7 +543,7 @@ services = { "woodpecker" = { name = "woodpecker" - host = "node002" + host = "node003" dns = [{ domain = "serguzim.me" target = "ci"