Skip to content

Free, open-source Google Maps scraper for lead generation (Python, no API key, no Docker). Exports name, phone, email, website, rating and Instagram/Facebook/LinkedIn/TikTok/YouTube/X links to CSV. 100 places with emails in 44 s; --grid beats Google's 120 cap. MX email check, ad-pixel detection. Skill for Claude Code, Codex and Cursor.

Merge pull request #16: stop mounting a volume over /opt

Mahan Jafarib3d1314f0fb0
diff --cc docker-compose.yml
index 7cbcc83,0bbf605..0f56106
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@@ -17,24 -17,16 +17,27 @@@ services
container_name: gmaps-scraper
restart: unless-stopped
command: ["-web", "-data-folder", "/gmapsdata"]
- ports:
- # Host port comes from SCRAPER_PORT in .env (default 8080). The container side stays 8080.
- - "127.0.0.1:${SCRAPER_PORT:-8080}:8080" # localhost only, see the warning above
+ # No published port: the engine is reached only through the ui service below.
volumes:
- - gmaps_data:/gmapsdata # job results; they persist until you delete the job or the volume
- - gmaps_cache:/opt # Playwright browser cache, so restarts skip the download
+ # Only job results. Do not mount a named volume over /opt: the image already ships Chromium at
+ # /opt/browsers and the Playwright driver at /opt/ms-playwright-go, so a volume there shadows
+ # both, and after an image bump it keeps serving the OLD browsers from the volume — which is
+ # how the driver-mismatch failures mentioned above come back. Restarts download nothing
+ # either way: the browsers are baked into the image.
+ - gmaps_data:/gmapsdata
+ # Serves the engine's UI and API with the kit's own GitHub and sponsor links (ui-branding.conf).
+ ui:
+ image: nginx:1.27-alpine
+ container_name: gmaps-scraper-ui
+ restart: unless-stopped
+ depends_on:
+ - google-maps-scraper
+ ports:
+ # Host port comes from SCRAPER_PORT in .env (default 8080). The container side stays 8080.
+ - "127.0.0.1:${SCRAPER_PORT:-8080}:8080" # localhost only, see the warning above
+ volumes:
+ - ./ui-branding.conf:/etc/nginx/conf.d/default.conf:ro
+
volumes:
gmaps_data:
- gmaps_cache: