From 81bea4de2d9aa7cd3c857d24eee22adfa7f84f6c Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Thu, 24 Sep 2026 02:15:58 +0300 Subject: [PATCH] dev: serve next.tangled.org and api.next.tangled.org from the gcp lb Signed-off-by: dawn --- terraform/modules/envs/dev.tf | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/terraform/modules/envs/dev.tf b/terraform/modules/envs/dev.tf index c7e8670..9be8e0d 100644 --- a/terraform/modules/envs/dev.tf +++ b/terraform/modules/envs/dev.tf @@ -3,7 +3,11 @@ locals { env_suffix = "next" project = "exemplary-proxy-507408-d6" - lb = false + lb = true + hostnames = { + svfe = "next.tangled.org" + bobbin = "api.next.tangled.org" + } region = "europe-north1" network_name = "tangled" @@ -36,26 +40,37 @@ locals { env = { BOBBIN_HYDRANT_URL = "https://index.tangled.network" BOBBIN_MIRROR_URL = "https://mirror-fsn.tangled.network" - BOBBIN_SERVICE_DID = "did:web:svfe-next-264757501569.europe-north1.run.app" + BOBBIN_MIRROR_V2_URL = "https://mirror-fsn.tangled.network" + BOBBIN_POCKET_URL = "https://pocket.tangled.network" + BOBBIN_CORS_ORIGINS = "*" + BOBBIN_SERVICE_DID = "did:web:api.next.tangled.org" BOBBIN_SLINGSHOT_URL = "https://index.tangled.network" } } svfe = { image = ":dev" - public = false + public = true env = { AVATAR_URL = "https://avatar-dev.tangled.org" - BOBBIN_UPSTREAM_URL = "https://bobbin-next-264757501569.europe-north1.run.app" - BOBBIN_URL = "https://svfe-next-264757501569.europe-north1.run.app" + BOBBIN_URL = "https://api.next.tangled.org" CAMO_URL = "https://camo-dev.tangled.org" DELIBERI_URL = "https://notifs-dev.tangled.network" + EMAIL_DID_URL = "https://email-did.anirudh-s-account.workers.dev" KNOTMIRROR_URL = "https://mirror-fsn.tangled.network" MODERATION_SERVICE_DID = "did:plc:3t4yxvxwjrl55odxe2rwwhfr" OGRE_URL = "https://ogre-dev.tangled.network" + ORIGIN = "https://next.tangled.org" + SITEMAP_URL = "https://sitemap-dev.anirudh-s-account.workers.dev" TANGLED_API_URL = "https://tangled.org" } + + secrets = { + AVATAR_SHARED_SECRET = "avatar-shared-secret" + CAMO_SHARED_SECRET = "camo-shared-secret" + EMAIL_DID_TOKEN = "email-did-token" + } } } } -- 2.51.2