summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-06-18 00:44:14 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-06-18 00:44:14 +0000
commit35e5cb916391e98181169d0228fc23514362988f (patch)
tree18e378d20e8e16c076a8eb62566a1b890666e740 /internal/config
parent1b1e6d6165531b4489f665bb0fd46e2d996de19f (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go2
1 files changed, 2 insertions, 0 deletions
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