Prerequisites
Before you begin, ensure you have the following installed:- Docker (20.10 or later)
- Docker Compose (v2.0 or later)
- Git (for cloning the repository)
- At least 4GB of available RAM
- At least 10GB of free disk space
Quick Start
Create environment file
Copy the development environment template:The default values in
.env.dev.example are pre-configured for local development and work out of the box.Start the platform
Launch the entire SGIVU stack with a single command:This command will:
- Pull all required Docker images
- Start all microservices (auth, gateway, user, client, vehicle, purchase-sale)
- Initialize databases (PostgreSQL, MySQL)
- Start Redis for session management
- Launch the ML service (FastAPI)
- Start Eureka service discovery
- Start the Config Server
- Optionally start Zipkin for distributed tracing
Wait for services to start
The initial startup may take 2-5 minutes as services initialize and register with Eureka. Monitor the startup process:You can also check service status:
Access the services
Once all services are running, you can access them at the following URLs:
| Service | URL | Description |
|---|---|---|
| Gateway | http://localhost:8080 | Main API gateway (BFF) |
| Auth | http://localhost:9000 | Authentication service |
| Config | http://localhost:8888 | Configuration server |
| Discovery | http://localhost:8761 | Eureka service registry |
| User Service | http://localhost:8081 | User management |
| Client Service | http://localhost:8082 | Client management |
| Vehicle Service | http://localhost:8083 | Vehicle inventory |
| Purchase-Sale | http://localhost:8084 | Transaction management |
| ML Service | http://localhost:8000 | Machine learning API |
| Zipkin | http://localhost:9411 | Distributed tracing |
| Frontend | http://localhost:4200 | Angular application |
Stopping the Platform
To stop all services:Next Steps
Installation
Learn about detailed installation options and prerequisites
Configuration
Explore configuration options and environment variables
Docker Deployment
Understand the Docker Compose architecture
Architecture
Dive into SGIVU’s microservices architecture