Files
pos-system/deployments/local
Ho Ngoc Hai 6256db44b7 fix(staff): resolve password reset failures and validation issues
- Fix IAM 401: Change reset-password endpoint to [AllowAnonymous]
  (BFF already handles auth, IAM token validation fails across
  Docker container boundaries with Duende IdentityServer)
- Fix IAM 500: Add Npgsql.EnableLegacyTimestampBehavior switch to
  resolve DateTime Kind=Unspecified issue with Identity UserManager
- Fix handler: Use RemovePassword + AddPassword instead of
  ResetPasswordAsync to avoid timestamptz column errors
- Fix validation: Remove mandatory employee code check when editing
  (staff created via IAM may not have employeeCode set)
- Fix Dockerfile: Use root repo context to include blazor-ui package

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 10:55:50 +07:00
..

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

Documentation

For detailed documentation, see:

Files

  • docker-compose.yml - Service orchestration
  • env.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.