Hands-on workshops demonstrating Redis capabilities beyond caching: session management, full-text search, distributed locks, and AI agent memory.
Prerequisites: Docker
docker compose up -dcd java-springboot/workshop-hub
# Start infrastructure (Redis, Redis Insight)
docker compose -f docker-compose.local.yml --profile infrastructure up -d
# Start a specific workshop
docker compose -f docker-compose.local.yml --profile workshop-1_session_management up -dAvailable profiles:
workshop-1_session_managementworkshop-2_full_text_searchworkshop-3_distributed_locksworkshop-4_agent_memory
| # | Workshop | Port |
|---|---|---|
| 1 | Session Management | 8080 |
| 2 | Full-Text Search | 8081 |
| 3 | Distributed Locks | 8082 |
| 4 | Agent Memory Server | 8083 |
| Service | URL |
|---|---|
| Workshop Hub | http://localhost:9000 |
| Redis Insight | http://localhost:5540 |
| Workshop | Postgres | OpenAI API Key |
|---|---|---|
| 1-2 | No | No |
| 3 | Yes | No |
| 4 | No | Yes |
docker compose down- Run the scaffold script:
./scripts/new-workshop.sh <id> "<title>" <serviceName> <frontendPort> [backendPort]- Regenerate compose files:
./java-springboot/gradlew :workshop-hub:generateCompose- Fill in the generated TODOs in both modules and update the frontend prebuild list in
java-springboot/workshop-hub/Dockerfileif the hub DinD image should ship the workshop with prebuilt assets.
Each workshop now consists of two modules:
java-springboot/<id>/- Backend APIs, demo logic, learner-editable source, backend Dockerfile, READMEjava-springboot/<id>_frontend/- SPA hosting, editor/file operations, backend proxying, frontend Dockerfile, Vue app
The scaffold creates both modules and registers both services in workshops.yaml.
All workshops are registered in workshops.yaml. Required fields:
id,title,descriptionserviceName,port,urldockerfile,topicsfrontendServiceName,frontendPort,frontendDockerfilebackendServiceName,backendPort,backendDockerfile
For compatibility with existing hub logic, keep serviceName, port, and dockerfile aligned with the frontend service values.
MIT