version: '3.8'

services:
  balotario-dev:
    build: .
    container_name: balotario-dev
    ports:
      - "5000:5000"
    environment:
      - FLASK_ENV=development
      - FLASK_DEBUG=true
      - DOCKER_CONTAINER=true
    volumes:
      # Montar código para desarrollo (hot reload)
      - .:/app
      - /app/venv  # Excluir venv del montaje
    restart: "no"
    networks:
      - balotario-dev-network

networks:
  balotario-dev-network:
    driver: bridge
