-
Notifications
You must be signed in to change notification settings - Fork 1
Add Docker example for one-command delegate setup #12
Copy link
Copy link
Open
Labels
exampleUsage examples and tutorialsUsage examples and tutorialsgood first issueGood for newcomersGood for newcomers
Description
Summary
Add a Dockerfile and docker-compose example so anyone can run an LDP delegate with a single command — no Python setup required.
What to do
- Create
Dockerfileat repo root that packages the Python SDK delegate - Create
examples/docker/with:docker-compose.ymlrunning 3 delegates with different profiles (fast, balanced, deep)demo_delegate.py— a simple delegate usingLdpDelegateREADME.mdwith setup instructions
- One command to start:
docker compose up - One command to demo:
python examples/demo_smart_routing.py(against the running delegates)
Why this matters
Docker is the fastest path from "I saw this on GitHub" to "I'm running it." It removes all friction: no Python version issues, no dependency conflicts, no port management. A2A has Docker examples for their samples.
Acceptance criteria
-
docker build -t ldp-delegate .works -
docker compose upstarts 3 delegates with different identity profiles - The smart routing demo can connect to them and show the routing comparison
- README with copy-paste instructions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
exampleUsage examples and tutorialsUsage examples and tutorialsgood first issueGood for newcomersGood for newcomers