diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-06-15 09:14:14 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-06-15 09:14:14 +0000 |
| commit | c86abd29845fa6feb61b1fddb8e8bb41312d55a8 (patch) | |
| tree | 697fa3542035672a73ba9ddee8d47ca7044b0d5b /.env.example | |
| parent | eb089ef4c9416bd3d5642bb5a4437355ffa2fdd0 (diff) | |
feat: service gateway framework + playground demo
Formalizes doot as an authenticated reverse proxy for arbitrary upstream
services. Any local HTTP service can now be registered behind doot's
existing auth + SSL layer with 3 lines of config.
- Rename NewClaudomatorProxy → NewServiceProxy (generic)
- Replace hard-coded claudomator proxy block with serviceMount slice loop
- Add PlaygroundURL config (PLAYGROUND_URL env var)
- Add playground/web/server.py: stdlib Python status page on port 9090
- Document pattern in .agent/design.md; update .env.example
To add a new service: set its URL env var, add a config field, append
one mount entry in main.go. Claudomator's GitHub webhook bypass is
expressed as webhookPaths on its mount.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.env.example b/.env.example index e54a20b..fa70f68 100644 --- a/.env.example +++ b/.env.example @@ -30,3 +30,9 @@ CACHE_TTL_MINUTES=5 # Development Settings # Set to "true" to enable debug logging DEBUG=false + +# Service Gateway — additional upstream services proxied behind doot's auth + SSL +# Each service is exposed at /prefix/* and requires a logged-in session. +# To add a new service: set its URL here and register a mount in cmd/dashboard/main.go. +# CLAUDOMATOR_URL=http://127.0.0.1:8484 # already wired; override if running elsewhere +# PLAYGROUND_URL=http://127.0.0.1:9090 # playground demo (playground/web/server.py) |
