Initial commit - WhyRating Engine (Google Reviews Scraper)

This commit is contained in:
Alejandro Gutiérrez
2026-02-02 18:19:00 +00:00
parent 0543a08242
commit 2206ddeff2
136 changed files with 51138 additions and 855 deletions

View File

@@ -10,9 +10,10 @@ services:
POSTGRES_USER: scraper
POSTGRES_PASSWORD: ${DB_PASSWORD:-scraper123}
ports:
- "5435:5432"
- "5437:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
- ./db/init:/docker-entrypoint-initdb.d:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U scraper"]
interval: 10s
@@ -29,8 +30,8 @@ services:
container_name: scraper-api
environment:
- DATABASE_URL=postgresql://scraper:${DB_PASSWORD:-scraper123}@db:5432/scraper
- API_BASE_URL=${API_BASE_URL:-http://localhost:8000}
- PORT=8000
- API_BASE_URL=${API_BASE_URL:-http://localhost:8001}
- PORT=8001
- MAX_CONCURRENT_JOBS=${MAX_CONCURRENT_JOBS:-5}
- CANARY_TEST_URL=${CANARY_TEST_URL:-https://www.google.com/maps/place/Soho+Factory/@54.6738155,25.2595844,17z/}
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL:-}
@@ -48,7 +49,7 @@ services:
- ./packages:/app/packages:ro
- ./api:/app/api:ro
ports:
- "8000:8000"
- "8001:8001"
- "5900:5900" # VNC port (for VNC client)
- "6080:6080" # noVNC web interface (browser access)
depends_on: