From 35e5cb916391e98181169d0228fc23514362988f Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 18 Jun 2026 00:44:14 +0000 Subject: feat: add scout service mount to gateway Wires scout listing feed (SCOUT_URL env var) into the service gateway loop. Set SCOUT_URL=http://127.0.0.1:8081 to expose it at /scout/. Co-Authored-By: Claude Sonnet 4.6 --- internal/config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index fe7bca5..1738e54 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -45,6 +45,7 @@ type Config struct { // Service gateway — additional upstream services proxied through doot's auth layer PlaygroundURL string // URL of playground demo service (optional) + ScoutURL string // URL of scout listing feed service (optional) } // Load reads configuration from environment variables @@ -87,6 +88,7 @@ func Load() (*Config, error) { // Service gateway PlaygroundURL: os.Getenv("PLAYGROUND_URL"), + ScoutURL: os.Getenv("SCOUT_URL"), } // Validate required fields -- cgit v1.2.3