The Mazadak Infrastructure repository contains Docker Compose configurations for running the entire Mazadak platform locally or in containerized environments.
It orchestrates all microservices, databases, message brokers, caching layers, observability tools, and supporting infrastructure components.
Use this repository to spin up the complete Mazadak ecosystem with a single command.
For more detailed instructions and how to to run the front end, check Environment Set-up
This setup is intended for local development and testing, not production deployment.
- Microservices: Config Server, Eureka Server, Gateway, User Service, Product Catalog, Auctions, Orders, Payment, Cart, Inventory, Notifications
- Databases: PostgreSQL instances for each service
- Message Broker: Apache Kafka with Kafka UI
- Workflow Engine: Temporal with Temporal UI
- Rate Limiting: Redis
- Observability: Grafana, Prometheus, Loki, Tempo, Alloy
- Development Tools: MailDev for email testing
- Payment Integration: Stripe webhook handler
To clone all Mazadak repositories at once into the current directory, use the provided script:
Linux/Mac:
./clone-all-repos.shWindows (PowerShell):
.\clone-all-repos.ps1Make sure you have Git configured and authenticated with GitHub.
The script intentionally excludes:
- .github (organization-level configuration)
- Project management repository (GitHub Projects / planning only)
- Docker & Docker Compose installed
.envfile configured with required environment variables (use.env.exampleas template)- GitHub Container Registry authentication: Log in to GHCR to pull service images
Use your GitHub username and a Personal Access Token (PAT) with
docker login ghcr.io
read:packagesscope as the password.
docker-compose up -ddocker-compose downdocker-compose logs -f [service-name]- Gateway: 18090
- Eureka Server: 18050
- Config Server: 18071
- Kafka UI: 18098
- Temporal UI: 8088
- Grafana: 3000
- Prometheus: 9090
- MailDev: 1080