services:
  backend:
    environment:
      # Development publishes the API directly, so forwarded headers are not trusted.
      - ASPNETCORE_ENVIRONMENT=Development
      - App__PublicBaseUrl=http://localhost:3000
      - Proxy__TrustForwardedHeaders=false
    ports:
      - "5202:8080"

  frontend:
    environment:
      - APP_PUBLIC_BASE_URL=http://localhost:3000
    ports:
      - "3000:80"

  ollama:
    ports:
      - "11434:11434"
