# ============================================
# Docker Compose Override for Local Development
# This file is automatically loaded by docker-compose
# Updated: January 2025 - v2.3
# ============================================

services:
  mawidi-app:
    environment:
      - NEXT_PUBLIC_API_URL=http://localhost:9000/api
      - NEXT_PUBLIC_APP_URL=http://localhost:9000
      - DEBUG=true
    labels:
      - "traefik.enable=false"
      - "com.mawidi.environment=local"

  mawidi-app-preview:
    environment:
      - NEXT_PUBLIC_API_URL=http://localhost:9150/api
      - NEXT_PUBLIC_APP_URL=http://localhost:9150
      - DEBUG=true
    labels:
      - "com.mawidi.environment=preview"

  mawidi-dev:
    environment:
      - NEXT_PUBLIC_API_URL=http://localhost:9000/api
      - NEXT_PUBLIC_APP_URL=http://localhost:9000
      - DEBUG=*
      - FORCE_COLOR=1
    labels:
      - "com.mawidi.environment=development"
