Workshop Apps
The apps from the microservices workshop - rebuilt simple and wired together with nginx, running with plain Docker. No Kubernetes, no message broker, no cache: just containers talking to each other over a Compose network.
⬇ Download all app sources (zip)
| Service | Role | Port |
|---|---|---|
| nginx | Reverse proxy front door - routes /app1/* and /app2/* | http://localhost:8080 |
| App1 | Tiny REST receiver - echoes whatever you POST | http://localhost:5001 |
| App2 | Calls App1 over the Docker network by service name | http://localhost:5002 |
| BuggyApp | Intentionally buggy .NET app - build, run and debug it | http://localhost:5006 |
How the apps fit together
flowchart LR
C8080["curl :8080"] -- "8080 → 80<br/>front door" --> NGINX["🐳 nginx :80"]
NGINX -- "/app1/* (prefix stripped)" --> APP1["🟢 app1 :3000"]
NGINX -- "/app2/* (prefix stripped)" --> APP2["🟢 app2 :3000"]
APP2 -- "Docker DNS<br/>app1:3000" --> APP1
C5001["curl :5001"] -- "5001 → 3000<br/>direct" --> APP1
C5002["curl :5002"] -- "5002 → 3000<br/>direct" --> APP2
C5006["curl :5006"] -- "5006 → 80<br/>direct" --> BUGGY["🐛 buggy :80"] - nginx → app1/app2: container-to-container HTTP over the Compose network.
- app2 → app1: Docker’s built-in DNS - the service name
app1is the hostname. - buggy: standalone on purpose - it is the target of the debugging task.
Run everything with Docker only
One command builds and starts the whole stack: 🐳 Run with Docker Only