From e1bace904463b32ec7b343bd0bbe76022ce8e70b Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Sun, 11 Jan 2026 17:06:40 +0000 Subject: [PATCH] Fix phaseflow PocketBase URL to use Nomad address Docker containers in Nomad don't share network namespace by default. Use NOMAD_ADDR_pocketbase interpolation instead of localhost. Co-Authored-By: Claude Opus 4.5 --- services/phaseflow.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/phaseflow.hcl b/services/phaseflow.hcl index 16642b7..01eac31 100644 --- a/services/phaseflow.hcl +++ b/services/phaseflow.hcl @@ -73,7 +73,7 @@ job "phaseflow" { env { NODE_ENV = "production" - POCKETBASE_URL = "http://localhost:8090" + POCKETBASE_URL = "http://${NOMAD_ADDR_pocketbase}" APP_URL = "https://phaseflow.v.paler.net" EMAIL_FROM = "phaseflow@paler.net" }