services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        # Override at build time: VITE_API_URL=https://api.example.com docker compose up --build
        VITE_API_URL: ${VITE_API_URL:-http://localhost:8080}
    ports:
      - '8000:80'
    restart: unless-stopped
