Homepage Redesign
This commit is contained in:
12
Makefile
12
Makefile
@@ -1,7 +1,7 @@
|
||||
.PHONY: help setup start stop clean test test-frontend logs shell-backend shell-frontend migrate rebuild traefik-dashboard traefik-logs service-discovery network-inspect health-check-all mobile-setup db-shell-app
|
||||
|
||||
help:
|
||||
@echo "MotoVaultPro - Simplified 6-Container Architecture"
|
||||
@echo "MotoVaultPro - Simplified 5-Container Architecture"
|
||||
@echo "Commands:"
|
||||
@echo " make setup - Initial project setup (K8s-ready environment)"
|
||||
@echo " make start - Start all services (production mode)"
|
||||
@@ -40,7 +40,7 @@ setup:
|
||||
echo "Generating multi-domain SSL certificate..."; \
|
||||
$(MAKE) generate-certs; \
|
||||
fi
|
||||
@echo "3. Building and starting all containers with 4-tier network isolation..."
|
||||
@echo "3. Building and starting all containers with 3-tier network isolation..."
|
||||
@docker compose up -d --build --remove-orphans
|
||||
@echo "4. Running database migrations..."
|
||||
@sleep 15 # Wait for databases to be ready
|
||||
@@ -51,9 +51,9 @@ setup:
|
||||
@echo "Traefik dashboard at: http://localhost:8080"
|
||||
@echo ""
|
||||
@echo "Network Architecture:"
|
||||
@echo " - 4-tier isolation: frontend, backend, database, platform"
|
||||
@echo " - 3-tier isolation: frontend, backend, database"
|
||||
@echo " - All traffic routed through Traefik (no direct service access)"
|
||||
@echo " - Development database access: ports 5432, 5433, 5434, 6379, 6380, 6381"
|
||||
@echo " - Development database access: ports 5432, 6379"
|
||||
@echo ""
|
||||
@echo "Mobile setup: make mobile-setup"
|
||||
|
||||
@@ -133,7 +133,6 @@ network-inspect:
|
||||
@echo " - frontend - Public-facing (Traefik + frontend services)"
|
||||
@echo " - backend - API services (internal isolation)"
|
||||
@echo " - database - Data persistence (internal isolation)"
|
||||
@echo " - platform - Platform microservices (internal isolation)"
|
||||
|
||||
health-check-all:
|
||||
@echo "Service Health Status:"
|
||||
@@ -162,9 +161,6 @@ generate-certs:
|
||||
logs-traefik:
|
||||
@docker compose logs -f traefik
|
||||
|
||||
logs-platform:
|
||||
@docker compose logs -f mvp-platform-vehicles-api mvp-platform-tenants mvp-platform-landing
|
||||
|
||||
logs-backend-full:
|
||||
@docker compose logs -f mvp-backend mvp-postgres mvp-redis
|
||||
|
||||
|
||||
Reference in New Issue
Block a user