#!/bin/bash
# 🛑 STOP LOCAL OVERPASS (Docker)
# Stops and removes the local Overpass API container.

set -euo pipefail

log() {
    echo "[$(date +%Y-%m-%d %H:%M:%S)] $1"
}

CONTAINER_NAME="overpass_local"

log "Stopping Overpass Container..."
docker stop $CONTAINER_NAME 2>/dev/null || true
log "Removing Overpass Container..."
docker rm $CONTAINER_NAME 2>/dev/null || true

log "✅ Overpass container stopped and removed."

