Backend (7 fixes):
- wallet-service: remove conflicting EF Ignore() calls for mapped backing fields
- fnb-engine: remove KitchenTicket short constructor that set productId=orderItemId
- fnb-engine: replace fire-and-forget Task.Run with direct await for inventory deduction
- TenantMiddleware: implement PostgreSQL RLS SET LOCAL in 4 services (wallet, fnb, inventory, catalog)
- order-service: fix SQL injection pattern in TenantMiddleware with Guid.ToString("D")
- order-service: add ValidateShopAccess() authorization check in SignalR PosHub
- 4 services: register IDbConnection (NpgsqlConnection) in DI for RLS middleware
Frontend (3 fixes):
- PosDataService: return Success=false (not true) when PayOrder response parsing fails
- QrPayment: add _disposed guard to prevent timer race condition after component disposal
- BFF OrderController: add [Authorize] attribute to require JWT for all endpoints
Infrastructure (3 fixes):
- docker-compose: upgrade PostgreSQL 15-alpine to 16-alpine per project spec
- init-databases.sh: add 4 missing marketing service databases (mkt_*)
- Traefik routes: add wallet, catalog, booking routers and /api/v1/stock path
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Local Development Deployment
Docker Compose configuration for running the GoodGo platform locally.
Quick Start
# Setup environment
cp env.local.example .env
cp env.local.example .env.local
# Update all placeholder secrets/connection strings in both files
# before starting the stack.
# Start platform
docker-compose up -d
# View status
docker-compose ps
Access
- Traefik Dashboard: http://localhost:8080
- Auth Service: http://localhost/api/v1/auth
- Web Admin: http://admin.localhost (currently disabled)
- Web Client: http://localhost (currently disabled)
Documentation
For detailed documentation, see:
- English: docs/en/guides/local-deployment.md
- Vietnamese: docs/vi/guides/local-deployment.md
Files
docker-compose.yml- Service orchestrationenv.local.example- Sanitized environment variables template.env- Docker Compose interpolation file (fill with real values).env.local- Local override file (fill with real values)
Common Commands
docker-compose up -d # Start all
docker-compose logs -f [service] # View logs
docker-compose down # Stop all
docker-compose ps # Check status
For troubleshooting and advanced usage, see the full documentation above.