# Docker Compose pour développement local du Frontend
# Usage: docker compose -f docker-compose.dev.yml up -d

services:
  # Frontend Flutter
  frontend:
    build:
      context: ./frontend
      dockerfile: Dockerfile
    container_name: ptitspas-frontend-dev
    restart: unless-stopped
    environment:
      API_URL: ${API_URL:-http://localhost:3000/api}
    ports:
      - "8000:80"
    networks:
      - ptitspas_dev

networks:
  ptitspas_dev:
    driver: bridge
