summaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index d3770f1..fe7bca5 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -42,6 +42,9 @@ type Config struct {
// Claudomator
ClaudomatorURL string // URL of Claudomator service
+
+ // Service gateway — additional upstream services proxied through doot's auth layer
+ PlaygroundURL string // URL of playground demo service (optional)
}
// Load reads configuration from environment variables
@@ -81,6 +84,9 @@ func Load() (*Config, error) {
// Claudomator
ClaudomatorURL: getEnvWithDefault("CLAUDOMATOR_URL", "http://127.0.0.1:8484"),
+
+ // Service gateway
+ PlaygroundURL: os.Getenv("PLAYGROUND_URL"),
}
// Validate required fields