From 59219dbdb9b96119b7e08407c0e7b48c053b0beb Mon Sep 17 00:00:00 2001 From: mikeee Date: Fri, 30 Aug 2024 20:03:22 +0100 Subject: [PATCH] fix: declare a scheduler host address for the multi-app run templates Signed-off-by: mikeee --- jobs/go/http/dapr.yaml | 3 ++- jobs/go/sdk/dapr.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jobs/go/http/dapr.yaml b/jobs/go/http/dapr.yaml index c21872677..d3edf24ab 100644 --- a/jobs/go/http/dapr.yaml +++ b/jobs/go/http/dapr.yaml @@ -4,9 +4,10 @@ apps: appID: job-service appPort: 6200 daprHTTPPort: 6280 + schedulerHostAddress: localhost command: ["go", "run", "."] - appDirPath: ./job-scheduler/ appID: job-scheduler appPort: 6300 daprHTTPPort: 6380 - command: ["go", "run", "."] \ No newline at end of file + command: ["go", "run", "."] diff --git a/jobs/go/sdk/dapr.yaml b/jobs/go/sdk/dapr.yaml index 4d0f47f98..82f18f4e4 100644 --- a/jobs/go/sdk/dapr.yaml +++ b/jobs/go/sdk/dapr.yaml @@ -8,6 +8,7 @@ apps: appPort: 6400 daprGRPCPort: 6481 appProtocol: grpc + schedulerHostAddress: localhost command: ["go", "run", "."] - appDirPath: ./job-scheduler/ appID: job-scheduler