Update
This commit is contained in:
@@ -75,7 +75,7 @@ GET /docs # Swagger UI
|
||||
Multi-tenant management service for platform-wide tenant operations.
|
||||
|
||||
#### Architecture Components
|
||||
- **API Service**: Python FastAPI on port 8001
|
||||
- **API Service**: Python FastAPI on port 8000
|
||||
- **Database**: Dedicated PostgreSQL on port 5434
|
||||
- **Cache**: Dedicated Redis instance on port 6381
|
||||
|
||||
@@ -95,7 +95,14 @@ Marketing and landing page service.
|
||||
## Service Communication
|
||||
|
||||
### Inter-Service Communication
|
||||
Platform services are **completely independent** - no direct communication between platform services.
|
||||
Platform services have **no direct communication** between each other, but share some infrastructure resources:
|
||||
|
||||
**Shared Resources**:
|
||||
- Configuration files (`./config/shared/production.yml`)
|
||||
- Secret management infrastructure (`./secrets/platform/` directory structure)
|
||||
- Docker network (`platform` network for internal communication)
|
||||
|
||||
**Independence Level**: Services can be deployed independently but rely on shared configuration and secrets infrastructure.
|
||||
|
||||
### Application → Platform Communication
|
||||
- **Protocol**: HTTP REST APIs
|
||||
@@ -241,10 +248,12 @@ Platform services are source of truth:
|
||||
**Verify All Platform Services**:
|
||||
```bash
|
||||
curl http://localhost:8000/health # Platform Vehicles
|
||||
curl http://localhost:8001/health # Platform Tenants
|
||||
curl http://localhost:8000/health # Platform Tenants (same port as vehicles)
|
||||
curl https://motovaultpro.com # Platform Landing
|
||||
```
|
||||
|
||||
**Note**: Both platform services (Vehicles and Tenants APIs) run on port 8000. They are differentiated by routing rules in Traefik based on the request path.
|
||||
|
||||
### Logs and Debugging
|
||||
|
||||
**Service Logs**:
|
||||
|
||||
Reference in New Issue
Block a user